* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #F5F5F5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

/* Mobile Blocked Page */
.mobile-blocked-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 40px 20px;
    background-color: #F5F5F5;
}

.mobile-blocked-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-emoji {
    font-size: 64px;
    color: #999;
    margin-bottom: 10px;
}

.mobile-message {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    font-family: 'Nunito', sans-serif;
    margin: 0;
}

.mobile-message a {
    color: #0066CC;
    text-decoration: none;
    font-weight: 600;
}

.mobile-message a:hover {
    text-decoration: underline;
}

.mobile-buttons {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-mobile-help {
    background-color: #0066CC;
    color: #FFFFFF;
    border: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    display: inline-block;
}

.btn-mobile-help:hover {
    background-color: #0052A3;
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

.mobile-footer {
    margin-top: auto;
    padding-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.thank-you-image-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
    width: 100%;
}

.thank-you-image {
    max-width: 120px;
    height: auto;
    display: block;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 0;
    padding: 20px;
    width: 100%;
}

.footer-btn {
    color: #999;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-btn:hover {
    color: #666;
}

.main-container {
    width: 100%;
    max-width: 1200px;
    height: 700px;
    display: flex;
    background: #FFFFFF;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.sidebar {
    width: 400px;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
    border-right: 1px solid #E0E0E0;
    display: flex;
    flex-direction: column;
    padding: 40px;
    overflow: hidden;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.sidebar-image {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
    min-height: 0;
    flex-shrink: 0;
}

.sidebar-image:empty {
    display: none;
}

.sidebar-image img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* Larger image for activation page */
#page-intro .sidebar-image img {
    max-height: 150px;
}

.sidebar-header {
    margin-bottom: 0;
    flex-shrink: 0;
    margin-top: 0;
}

.sidebar-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    text-align: left;
}

.sidebar-description {
    font-size: 16px;
    color: #666;
    text-align: left;
    margin-bottom: 0;
}

.progress-indicator {
    margin-top: auto;
    padding-top: 20px;
    flex-shrink: 0;
    overflow-y: auto;
    min-height: 0;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 4px 0;
    transition: all 0.3s ease;
}

.progress-step .step-number {
    display: none;
}

.progress-step .step-label {
    font-size: 13px;
    color: #999;
    transition: all 0.3s ease;
}

.progress-step.active .step-label {
    color: #0066CC;
    font-weight: 600;
}

.progress-step.completed .step-label {
    color: #4CAF50;
}

.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.form-scrollable {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px;
}

.form-scrollable::-webkit-scrollbar {
    width: 8px;
}

.form-scrollable::-webkit-scrollbar-track {
    background: #F5F5F5;
}

.form-scrollable::-webkit-scrollbar-thumb {
    background: #CCCCCC;
    border-radius: 4px;
}

.form-scrollable::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

.page {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content {
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

#page-domains .page-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

#page-domains form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-content p {
    font-size: 18px;
    color: #666;
    text-align: left;
    margin-bottom: 30px;
}

.page-description {
    text-align: left;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.required {
    color: #0066CC;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

select:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

select:hover {
    border-color: #CCCCCC;
}

input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
}

input[type="password"]:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

select:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

select:hover {
    border-color: #CCCCCC;
}

/* Form Row for side-by-side fields */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.form-group-half {
    flex: 1;
    margin-bottom: 0;
}

.icaan-intro {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #F8F9FA;
    border-radius: 8px;
}

.icaan-intro-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

.icaan-intro {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #F8F9FA;
    border-radius: 8px;
}

.icaan-intro-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

/* Activation Code Input */
#page-intro .page-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding-top: 120px;
}

#page-intro form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.activation-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    padding: 40px 0;
    flex-shrink: 0;
    width: 100%;
}

.activation-logo {
    width: 60px;
    height: auto;
    margin: 0 0 20px 0;
    display: none;
    filter: brightness(0);
}

.activation-title {
    font-size: 64px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px 0;
    font-family: 'Nunito', sans-serif;
    text-align: center;
}

.activation-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #666;
    margin: 0 0 40px 0;
    font-family: 'Nunito', sans-serif;
    text-align: left;
    line-height: 1.6;
    padding: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    display: none;
}

.activation-disclaimer {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 15px;
    font-family: 'Nunito', sans-serif;
    line-height: 1.5;
}

.activation-disclaimer a {
    color: #999;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.activation-disclaimer a:hover {
    color: #666;
}

.activation-code-container {
    text-align: left;
    margin-top: auto;
    margin-bottom: 0;
    flex-shrink: 0;
}

.activation-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: left;
}

.activation-inputs {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.activation-digit {
    width: 60px;
    height: 60px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    color: #333;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.activation-digit:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    transform: scale(1.05);
}

.activation-digit.filled {
    border-color: #0066CC;
    background-color: #F0F7FF;
}

.activation-digit.error {
    border-color: #E74C3C;
    background-color: #FFF5F5;
}

/* Activation Animation */
.activation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-in;
}

.activation-animation {
    text-align: center;
}

.activation-animation p {
    margin-top: 20px;
    font-size: 18px;
    color: #0066CC;
    font-weight: 600;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #E0E0E0;
    border-top-color: #0066CC;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Confirmation Modal */
.confirmation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease-in;
}

.confirmation-modal {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 30px 0;
    text-align: center;
    font-family: 'Nunito', sans-serif;
}

.modal-content {
    margin-bottom: 30px;
}

.membership-duration {
    font-size: 22px;
    font-weight: 600;
    color: #0066CC;
    text-align: center;
    margin-bottom: 25px;
    font-family: 'Nunito', sans-serif;
}

.membership-dates {
    background-color: #F8F9FA;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.date-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-family: 'Nunito', sans-serif;
}

.date-row:last-child {
    margin-bottom: 0;
}

.date-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.date-value {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.modal-warning {
    font-size: 14px;
    color: #E74C3C;
    text-align: center;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    padding: 12px;
    background-color: #FFF5F5;
    border-radius: 6px;
    border: 1px solid #FFE0E0;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.modal-buttons .btn {
    flex: 1;
}

/* Alert Message */
.alert-message {
    background-color: #FFF3CD;
    border: 1px solid #FFE69C;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 15px;
    color: #856404;
    font-size: 14px;
}

.alert-message strong {
    font-weight: 600;
}

.error-message {
    display: block;
    color: #E74C3C;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

/* Tooltip Styles */
.tooltip-trigger {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #0066CC;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    cursor: help;
    margin-left: 8px;
    position: relative;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}

.tooltip-trigger:hover {
    background-color: #0052A3;
}

.tooltip-trigger::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    padding: 12px 16px;
    background-color: #333;
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    white-space: normal;
    width: 280px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tooltip-trigger::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 6px solid transparent;
    border-top-color: #333;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1001;
}

.tooltip-trigger:hover::after,
.tooltip-trigger:hover::before {
    opacity: 1;
}

/* Gray circular tooltip for auth code labels */
.tooltip-gray {
    background-color: #999999 !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    font-size: 12px !important;
}

.tooltip-gray:hover {
    background-color: #777777 !important;
}

.tooltip-gray::after {
    background-color: #333 !important;
}

.tooltip-gray::before {
    border-top-color: #333 !important;
}

/* Domain Fields */
.domains-empty-state {
    text-align: center;
    padding: 60px 20px;
    display: block;
}

.domains-empty-state.hidden {
    display: none;
}

.empty-state-emoji {
    font-size: 48px;
    color: #CCCCCC;
    margin-bottom: 15px;
}

.empty-state-text {
    font-size: 16px;
    color: #999;
    margin: 0;
    text-align: center;
    width: 100%;
}

.domain-group {
    background-color: #F8F9FA;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #E0E0E0;
    transition: border-color 0.3s ease;
}

.domain-group:focus-within {
    border-color: #0066CC;
}

.domain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.domain-header label {
    margin-bottom: 0;
}

.domain-remove {
    background: linear-gradient(180deg, #FF5555 0%, #E74C3C 50%, #C0392B 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    box-shadow: 
        0 3px 10px rgba(231, 76, 60, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.domain-remove::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.domain-remove:hover {
    background: linear-gradient(180deg, #FF6666 0%, #FF4444 50%, #C0392B 100%);
    transform: translateY(-1px);
    box-shadow: 
        0 4px 15px rgba(231, 76, 60, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.domain-remove:active {
    transform: translateY(1px);
    box-shadow: 
        0 1px 5px rgba(231, 76, 60, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-code-info {
    margin: 15px 0;
    padding: 12px;
    background-color: #F0F7FF;
    border-left: 3px solid #0066CC;
    border-radius: 4px;
}

.auth-code-info p {
    margin: 0;
    font-size: 14px;
    color: #333;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-code-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #E0E0E0;
}

.auth-code-btn {
    background: linear-gradient(180deg, #0080FF 0%, #0066CC 50%, #004C99 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    margin-bottom: 10px;
    box-shadow: 
        0 3px 10px rgba(0, 102, 204, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.auth-code-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.auth-code-btn:hover {
    background: linear-gradient(180deg, #0099FF 0%, #0073E6 50%, #0052A3 100%);
    transform: translateY(-1px);
    box-shadow: 
        0 4px 15px rgba(0, 102, 204, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.auth-code-btn:active {
    transform: translateY(1px);
    box-shadow: 
        0 1px 5px rgba(0, 102, 204, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-code-btn.active {
    background: linear-gradient(180deg, #0073E6 0%, #0052A3 50%, #003D7A 100%);
    box-shadow: 
        0 2px 8px rgba(0, 102, 204, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.auth-code-help {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-code-help .tooltip-trigger {
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 12px;
}

/* Buttons */
.button-group {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 0;
}

#page-intro .button-group {
    margin-top: 15px;
    flex-shrink: 0;
}

#page-domains .page-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

#page-domains form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-primary {
    background: linear-gradient(180deg, #0080FF 0%, #0066CC 50%, #004C99 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 15px rgba(0, 102, 204, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #0099FF 0%, #0073E6 50%, #0052A3 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(0, 102, 204, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 8px rgba(0, 102, 204, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: linear-gradient(180deg, #F8F8F8 0%, #F0F0F0 50%, #E8E8E8 100%);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 2px 5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.btn-secondary:hover {
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 50%, #E0E0E0 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 3px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-secondary:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.domains-actions {
    margin-top: auto;
    padding-top: 30px;
}

.btn-add {
    background: linear-gradient(180deg, #0080FF 0%, #0066CC 50%, #004C99 100%);
    color: #FFFFFF;
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 15px rgba(0, 102, 204, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-add::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.btn-add:hover {
    background: linear-gradient(180deg, #0099FF 0%, #0073E6 50%, #0052A3 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(0, 102, 204, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-add:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 8px rgba(0, 102, 204, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:disabled {
    background: linear-gradient(180deg, #E0E0E0 0%, #CCCCCC 50%, #B8B8B8 100%);
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:disabled:hover {
    transform: none;
    background: linear-gradient(180deg, #E0E0E0 0%, #CCCCCC 50%, #B8B8B8 100%);
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-add:disabled {
    background: linear-gradient(180deg, #E0E0E0 0%, #CCCCCC 50%, #B8B8B8 100%);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0066CC;
}

.checkbox-label span:not(.required) {
    flex: 1;
}

/* Options Page */
.options-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Nunito', sans-serif;
}

.options-subtitle {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-family: 'Nunito', sans-serif;
}

.options-domains-container {
    margin-bottom: 30px;
}

.domain-options-section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 2px solid #E0E0E0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.domain-options-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    font-family: 'Nunito', sans-serif;
    padding-bottom: 15px;
    border-bottom: 2px solid #E0E0E0;
}

.tool-category-section {
    margin-bottom: 30px;
}

.tool-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skip-section {
    margin-bottom: 30px;
}

.skip-card {
    background-color: #F8F9FA;
    border: 2px solid #999;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.skip-card:hover {
    border-color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.skip-card.checked {
    border-color: #666;
    background-color: #E8E8E8;
}

.separator-with-or {
    display: flex;
    align-items: center;
    margin: 30px 0;
    gap: 15px;
}

.separator-line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #E0E0E0 0px,
        #E0E0E0 5px,
        transparent 5px,
        transparent 10px
    );
}

.or-text {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Nunito', sans-serif;
    padding: 0 10px;
}

.filegnome-tools-section {
    margin-bottom: 25px;
}

.applications-section {
    margin-bottom: 25px;
}

.applications-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.applications-more-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.view-more-btn {
    background-color: transparent;
    border: 1px solid #0066CC;
    color: #0066CC;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
    justify-self: start;
}

.view-more-btn:hover {
    background-color: #0066CC;
    color: #FFFFFF;
}

.application-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-left: 4px solid #0066CC;
    border-radius: 6px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.application-card:hover {
    background-color: #F8F9FA;
    border-left-color: #0052A3;
}

.application-card.checked {
    background-color: #F0F7FF;
    border-left-color: #0066CC;
    border-color: #0066CC;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .domain-actions {
        flex-direction: column;
    }
    
    .domain-actions .btn {
        width: 100%;
    }
}

.tool-card {
    background-color: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tool-card:hover {
    border-color: #0066CC;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.tool-card-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    margin: 0;
}

.tool-card-label input[type="checkbox"],
.tool-card-label input[type="radio"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #0066CC;
    margin-top: 2px;
    flex-shrink: 0;
}

.tool-card-label input[type="checkbox"]:disabled,
.tool-card-label input[type="radio"]:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.tool-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    font-family: 'Nunito', sans-serif;
}

.tool-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    font-family: 'Nunito', sans-serif;
}

.tool-card.checked {
    border-color: #0066CC;
    background-color: #F0F7FF;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

.tool-card.checked .tool-name {
    color: #0066CC;
    font-weight: 700;
}

.tool-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #F5F5F5;
}

.tool-card.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #E0E0E0;
}

.domain-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
    flex-wrap: wrap;
}

.domain-actions .btn {
    flex: 1;
    min-width: 200px;
}

.options-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Nunito', sans-serif;
}

.no-domains-message {
    text-align: center;
    color: #999;
    font-size: 16px;
    padding: 40px;
    font-family: 'Nunito', sans-serif;
}

/* Terms Container */
.terms-container {
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    overflow: hidden;
    background-color: #FFFFFF;
}

.terms-iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.terms-container h1,
.terms-container h2,
.terms-container h3 {
    color: #000;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.terms-container h1 {
    font-size: 24px;
}

.terms-container h2 {
    font-size: 20px;
}

.terms-container h3 {
    font-size: 18px;
}

.terms-container p {
    margin-bottom: 12px;
}

.terms-container ul,
.terms-container ol {
    margin-left: 20px;
    margin-bottom: 12px;
}

.terms-container li {
    margin-bottom: 8px;
}

.terms-container strong {
    font-weight: 700;
}

.terms-container em {
    font-style: italic;
}

.pdf-placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 40px;
    background-color: #F8F9FA;
    border-radius: 8px;
    border: 2px dashed #E0E0E0;
}

#terms-pdf {
    display: none;
}

#terms-pdf[src] {
    display: block;
}

#terms-pdf[src] + .pdf-placeholder {
    display: none;
}

/* Thank You Page */
#page-thankyou .page-content {
    padding: 40px 0;
}

.next-steps-content {
    max-width: 600px;
    margin: 0 auto;
}

.next-steps-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 30px 0;
    text-align: center;
    font-family: 'Nunito', sans-serif;
}

.domains-setup-list {
    margin-bottom: 40px;
}

.domain-setup-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    background-color: #F8F9FA;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid #E0E0E0;
}

.domain-setup-item:last-child {
    margin-bottom: 0;
}

.domain-setup-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.domain-setup-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    font-family: 'Nunito', sans-serif;
}

.domain-setup-status {
    font-size: 14px;
    color: #666;
    font-family: 'Nunito', sans-serif;
    min-width: 100px;
    text-align: right;
}

.domain-setup-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #E0E0E0;
    border-top-color: #0066CC;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.setup-info {
    padding: 20px 0;
    margin-top: 30px;
}

.setup-message {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-family: 'Nunito', sans-serif;
}

.setup-bullets {
    margin: 15px 0;
    padding-left: 25px;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    font-family: 'Nunito', sans-serif;
}

.setup-bullets li {
    margin-bottom: 10px;
}

.setup-bullets li:last-child {
    margin-bottom: 0;
}

.close-message {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-container {
        max-width: 100%;
        height: auto;
        min-height: 600px;
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #E0E0E0;
        padding: 30px;
    }

    .sidebar-content {
        flex-direction: row;
        gap: 30px;
        align-items: center;
    }

    .sidebar-header {
        flex: 1;
        margin-bottom: 0;
    }

    .sidebar-image {
        flex: 0 0 150px;
        margin: 0;
        min-height: auto;
    }

    .progress-indicator {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 20px;
        padding-top: 0;
    }

    .progress-step {
        flex: 0 0 auto;
    }

    .form-scrollable {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .main-container {
        height: auto;
        min-height: 500px;
    }

    .sidebar {
        padding: 20px;
    }

    .sidebar-content {
        flex-direction: column;
        gap: 20px;
    }

    .sidebar-title {
        font-size: 24px;
    }

    .sidebar-description {
        font-size: 14px;
    }

    .sidebar-image {
        flex: 0 0 auto;
        max-width: 120px;
    }

    .progress-indicator {
        flex-direction: column;
        gap: 8px;
    }

    .form-scrollable {
        padding: 20px;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group-half {
        margin-bottom: 25px;
    }

    .tooltip-trigger::after {
        width: 240px;
        left: auto;
        right: 0;
        transform: none;
    }

    .tooltip-trigger::before {
        left: auto;
        right: 20px;
        transform: none;
    }
}

