/*
Theme Name:   Astra Child
Template:     astra
*/


/* 
--------------------------------
Pricing pages styles 
--------------------------------
*/
/* 2. Style your container, NOT the body */
.pricing-container {
    padding: 2rem;
    max-width: 1200px;
    margin-top: 100px;
    margin-left: 100px;
}

@media (max-width: 768px) {
    .pricing-container {
        margin-top: 0 !important;
        padding: 1rem;
    }
}



.plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.plan {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    max-width: 30%;
    min-width:300px;
    
    
    /* 👇 CHANGE THIS FROM 340px TO 300px 👇 */
    flex: 1 1 30%; 
    
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.plan h2 {
    margin-top: 0;
}

.features {
    list-style: none;
    padding: 0;
    line-height: 1.6;
}

.cta {
    display: block;
    margin-top: 1.5rem;
    background: #cf332b;
    color: white;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.cta:hover {
    background: #EC5B53;
}

.plan.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.plan.disabled .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 200, 200, 0.5);
    border-radius: 12px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.billing-toggle {
    text-align: center;
    margin-bottom: 30px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.switch input:checked+.slider {
    background-color: #cf332b;
}

.switch input:checked+.slider:before {
    transform: translateX(26px);
}

.billing-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}


/* VAT notice styling */
.vat-info {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
    margin-top: 1rem;
}

.plan-logo {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 50px;
    height: auto;
}

[data-price] {
    font-size: 1.75rem;
    font-weight: bold;
    color: #333;
}


.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
}

.modal-box button {
    background: var(\u002d\u002dast-global-color-2);
    color: white;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #cf332b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.tax-note {
    font-size: 0.8rem;
    color: #666;
    margin-left: 4px;
}



.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid-item {
    display: flex;
    flex-direction: column;
}

.form-grid-item label {
    margin-bottom: 4px;
    font-weight: bold;
}

.form-grid-item input,
.form-grid-item textarea {
    padding: 0.5rem;
    font-size: 1rem;
}

.full-width {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .full-width {
        grid-column: span 1;
    }
}



.uncheck-button {
    background-color: #cccccc !important;
    /* light gray */
    color: #333;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.uncheck-button:hover {
    background-color: #b3b3b3 !important;
}


.check-button {
    background: #cf332b !important;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border: none;
    border-radius: 6px;
}

.check-button:hover {
    background: #cf332b !important;
    
}


.veriveren-addon {
    margin-top: 10px;
    background: #f2f2f2;
    padding: 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #444;
}

.veriveren-addon small {
    display: block;
    color: #666;
    font-size: 0.8rem;
    margin-top: 5px;
}


.veriveren-addon [data-price-addon-annual] {
    font-size: 0.85rem;
    font-weight: normal;
    color: #555;
}

.veriveren-addon label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.4rem;
    color: #222;
}

.veriveren-addon label span {
    font-weight: normal;
}

.veriveren-addon strong {
    color: #111;
    font-size: 0.95rem;
}

.crossed-price {
    text-decoration: line-through;
    font-size: 0.85rem;
    color: #888;
    margin-right: 6px;
}

.veriveren-addon .free-label {
    font-weight: bold;
    color: rgb(0, 180, 80);
    font-size: 0.9rem;
}

.plan-badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    background: #ffd84d;
    /* or your brand color */
    color: #111;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.2;
}


/* 
--------------------------------
Download pages styles 
--------------------------------
*/
.download-page {
    padding: 2rem;
    max-width: 1200px;
    min-height: 60vh;
    text-align: center;
    margin: 100px auto 0 auto; /* centered */
}

@media (max-width: 768px) {
    .download-page {
        margin-top: 0 !important;
        padding: 1rem;
    }
}

/* ----------------------------------------
REDIRECT PAGE
----------------------------------------- */
.redirect-message{

    text-align: center;
    color: #333;
    border-radius: 16px;
    font-weight: bold;
/* NEW: center content inside the box */
    text-align: center;
}

/* NEW: center the block vertically on the page */
.redirect-wrapper {
    /* display: flex; */
    padding: 2rem;
    max-width: 1200px;
    margin: 100px auto 0 auto; /* centered */

    justify-content: center;   /* horizontal center */
    align-items: center;       /* vertical center */
    min-height: 70vh;          /* adjust height */
}

/* ----------------------------------------
POLISHED OS CARDS
----------------------------------------- */

.os-grid {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.os-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 220px;
    padding: 32px 20px;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    background: #ffb5b1;
    color: #333;
    border-radius: 16px;

    /* ✨ Subtle 3D shadow */
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.12),     /* soft depth */
        0 1px 2px rgba(255, 255, 255, 0.6) inset; /* inner highlight */

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

/* Hover effect — tasteful, slightly more 3D */
.os-card:hover {
    transform: translateY(-6px);

    /* Deeper but still soft */
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.18),
        0 1px 3px rgba(255,255,255,0.35) inset;

    background: #CF332B;
    color: #fff;
}


/* Title text */
.os-card h3 {
    margin-top: 14px;
    font-size: 1.25rem;
    letter-spacing: 0.3px;
}

/* Optional icon styles (ready for future use) */
.os-card img.os-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;

}

/* Responsive */
@media (max-width: 768px) {
    .os-grid {
        gap: 20px;
    }
    .os-card {
        width: 180px;
        padding: 26px 14px;
    }
}


/* Force all download buttons same width */
/* NEW: wrapper to allow absolute positioning */
.download-wrapper {
    position: relative;
    display: inline-block;
    min-width: 320px;
    max-width: 380px;
    margin-bottom: 22px;  /* adjust to your taste */
    margin-left: 25px;
}

/* SVG positioned relative to wrapper */
.download-wrapper .download-icon {
    position: absolute;    
    top: 25px;
    right: 12px;
    width: 22px;
    height: 22px;
    opacity: 0.9;
    pointer-events: none;
    filter: brightness(0) invert(1);

}

.download-btn {
    display: block;
    min-width: 320px;
    max-width: 380px;
    
    margin: 14px auto;
    padding: 18px 30px;
    
    background: #cf332b;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    
    text-align: center;
    line-height: 1.3;
}

.download-btn:hover {
    background: #ffb5b1;
    color: #333;
}


/* Subtitle text inside button */
.download-btn small {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 6px;
}

/* SHA block */
.download-btn .sha {
    display: block;
    margin-top: 10px;
    font-size: 0.75rem;
    opacity: 0.8;
    word-break: break-all;
}


.download-all-text{
    /* make the text strong and polished*/
    font-weight: bold;
    margin-top: 40px !important;
    /* underlined */
    text-decoration: underline;
}