/* --- Pricing Table Styles (Unchanged) --- */
.azocloud-pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.pricing-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.plan-title { font-size: 1.5rem; margin-bottom: 1rem; }
.plan-price { font-size: 2.5rem; font-weight: bold; margin-bottom: 1rem; color: #333; }
.plan-price .woocommerce-Price-amount { font-size: 2.5rem; }
.plan-description { margin-bottom: 1.5rem; color: #666; }
.plan-features { list-style: none; padding: 0; margin: 0 0 1.5rem 0; }
.plan-features li { padding: 0.5rem 0; border-bottom: 1px solid #f0f0f0; }
.plan-features li:last-child { border-bottom: none; }
.select-plan-button { display: inline-block; background-color: #0073e6; color: #fff !important; padding: 1rem 2rem; border-radius: 5px; text-decoration: none; font-weight: bold; transition: background-color 0.2s; }
.select-plan-button:hover { background-color: #005bbd; }

/*
---
MODERN UI STYLES - START
---
*/

/* 1. Modern Background Gradient */
body.azocloud-modern-bg {
    background-color: #f0f4f9;
    background-image:
        radial-gradient(at 5% 15%, hsla(212,80%,95%,1) 0px, transparent 50%),
        radial-gradient(at 95% 85%, hsla(280,80%,95%,1) 0px, transparent 50%);
}

/* 2. Page Header Styling */
.azocloud-domain-config-page .entry-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 3em;
    font-weight: 800;
    color: #1a202c;
}

.azocloud-domain-config-page .config-intro {
    text-align: center;
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.azocloud-domain-config-page .config-intro strong {
    color: #2b6cb0;
}

/* 3. Main Container Layout */
.domain-options-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 820px) {
    .domain-options-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* 4. Glassmorphism Card Design */
.domain-option-box {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.domain-option-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

.domain-option-box h2 {
    margin-top: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
}

.domain-option-box p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 5. Modern Form & Input Styling */
.domain-search-form, .existing-domain-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.domain-search-form input[type="text"],
.existing-domain-form input[type="text"] {
    width: 100%;
    padding: 16px;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    font-size: 1.05rem;
    background-color: rgba(255,255,255, 0.8);
    color: #2d3748;
    transition: all 0.2s ease;
}

.domain-search-form input[type="text"]::placeholder,
.existing-domain-form input[type="text"]::placeholder {
    color: #a0aec0;
}

.domain-search-form input[type="text"]:focus,
.existing-domain-form input[type="text"]:focus {
    outline: none;
    border-color: #3182ce;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

/* 6. Modern Gradient Button */
.domain-search-form .button,
.existing-domain-form .button {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.05rem;
    font-weight: bold;
    border-radius: 10px;
    color: #fff;
    border: none;
    cursor: pointer;
    background-image: linear-gradient(45deg, #4299e1 0%, #3182ce 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px 0 rgba(49, 130, 206, 0.35);
}

.domain-search-form .button:hover,
.existing-domain-form .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px 0 rgba(49, 130, 206, 0.45);
}


@media (min-width: 500px) {
    .domain-search-form, .existing-domain-form {
        flex-direction: row;
        align-items: center;
    }
    .domain-search-form input[type="text"],
    .existing-domain-form input[type="text"] {
        flex-grow: 1;
    }
     .domain-search-form .button,
    .existing-domain-form .button {
        width: auto;
        flex-shrink: 0;
    }
}

/* 7. Modern Result Messages */
.domain-results {
    margin-top: 1.5rem;
    padding: 0; /* Padding will be on inner elements */
    min-height: 60px;
    line-height: 1.5;
}

.domain-results.loading { background: transparent; }

.domain-results .success, .domain-results .error {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
}

.domain-results .success { color: #2f855a; background-color: #c6f6d5; }
.domain-results .error { color: #c53030; background-color: #fed7d7; }

.domain-results .button.alt {
    margin-top: 1rem;
    display: inline-block;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    background-image: linear-gradient(45deg, #48bb78 0%, #38a169 100%);
    box-shadow: 0 4px 15px 0 rgba(56, 161, 105, 0.35);
    transition: all 0.3s ease;
}
.domain-results .button.alt:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px 0 rgba(56, 161, 105, 0.45);
}

.domain-results .suggestions {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 10px;
    background-color: rgba(247, 250, 252, 0.8);
}
.domain-results .suggestions p { margin: 0 0 0.5rem 0; font-weight: bold; color: #2d3748; }
.domain-results .suggestions ul { margin: 0; padding-left: 20px; color: #4a5568; }


/* --- Cart/Checkout Customization (Unchanged) --- */
.woocommerce-cart-form .product-thumbnail,
.woocommerce-checkout-review-order-table .product-thumbnail {
    display: none !important;
}
.azocloud-cart-title {
    margin-bottom: 1.5rem;
}

/*
---
MODERN UI STYLES - END
---
*/
