/* ==================== GUEST PAGE BODY OVERRIDE ==================== */
body {
    padding-top: 0;
}

/* ==================== GUEST PROGRESS HEADER ==================== */
.guest-progress {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.progress-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.guest-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.guest-brand-logo {
    max-height: 40px;
    max-width: 150px;
    object-fit: contain;
}

.guest-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.guest-brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
}

.guest-login-link {
    color: #4a5568;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.guest-login-link:hover {
    color: #4299e1;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 0.8;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.progress-step.active .step-number {
    background: #4299e1;
    color: white;
}

.progress-step.completed .step-number {
    background: #48bb78;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    white-space: nowrap;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 8px;
    flex-shrink: 0;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-title i {
    color: var(--primary-color);
}

.page-subtitle {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 0;
}

.page-subtitle strong {
    color: #2d3748;
    font-weight: 600;
}

/* ==================== DOMAIN SELECTION SECTION ==================== */
.domain-selection-section {
    margin-bottom: 2rem;
}

.domain-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

/* ==================== DOMAIN OPTION ==================== */
.domain-option {
    margin-bottom: 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.domain-option:hover {
    border-color: #cbd5e0;
}

.domain-option.active {
    border-color: #4299e1;
    background: #f7fafc;
}

.option-header {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.domain-option.active .option-header {
    background: #f7fafc;
}

.option-header:hover {
    background: #f7fafc;
}

.domain-radio {
    display: none;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
    font-size: 1rem;
    color: #2d3748;
    font-weight: 500;
}

.radio-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: white;
}

.domain-radio:checked + .option-label .radio-custom {
    border-color: #4299e1;
    background: #4299e1;
}

.domain-radio:checked + .option-label .radio-custom::after {
    content: '\f26b';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
}

.option-text {
    flex: 1;
}

.option-content {
    padding: 1.5rem;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
}

/* ==================== INPUT GROUP ==================== */
.input-group-custom {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.input-with-prefix {
    display: flex;
    align-items: stretch;
    flex: 1;
    min-width: 200px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.input-with-prefix:focus-within {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.input-prefix {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    font-weight: 500;
    border-right: 2px solid #e2e8f0;
    white-space: nowrap;
}

.form-control-custom {
    border: none;
    padding: 0.75rem 1rem;
    flex: 1;
    font-size: 1rem;
    outline: none;
    background: white;
}

.form-control-custom::placeholder {
    color: #a0aec0;
}

.form-select-custom {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    background: white;
    color: #2d3748;
    transition: all 0.3s ease;
    min-width: 150px;
}

.form-select-custom:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* ==================== ACTION BUTTONS ==================== */
.btn-action {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-domain-check {
    background: #4299e1;
    color: white;
}

.btn-domain-check:hover {
    background: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.4);
}

/* ==================== CHECK RESULT ==================== */
.check-result {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.check-result.show {
    display: block;
}

.check-result.success {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #38a169;
}

.check-result.error {
    background: #fed7d7;
    color: #742a2a;
    border-left: 4px solid #e53e3e;
}

/* ==================== NAMESERVER INFO ==================== */
.nameserver-info {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #4299e1;
}

.info-text {
    font-size: 0.95rem;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.nameserver-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nameserver-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: #4a5568;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    position: relative;
}

.nameserver-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #4299e1;
    font-size: 1.2rem;
}

/* ==================== FORM ACTIONS ==================== */
.form-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-secondary {
    padding: 0.85rem 2rem;
    background: #718096;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #4a5568;
    transform: translateY(-2px);
}

.btn-primary {
    padding: 0.85rem 2rem;
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.4);
}

.btn-primary:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .domain-form-container {
        padding: 1.5rem;
    }

    .input-group-custom {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-secondary,
    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .step-label {
        display: none;
    }

    .progress-line {
        width: 30px;
    }

    .guest-brand-text {
        display: none;
    }

    .guest-login-link {
        font-size: 0.875rem;
    }
}
