.guest-auth-panel {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.guest-auth-header {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
    color: #fff;
    padding: 1.75rem 2rem;
}

.guest-auth-header h5 {
    margin: 0 0 0.35rem;
    font-weight: 700;
    color: #fff;
}

.guest-auth-header p {
    margin: 0;
    opacity: 0.88;
    font-size: 0.9rem;
}

.guest-auth-steps {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.guest-auth-step {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.55;
    position: relative;
    padding-top: 1.5rem;
}

.guest-auth-step::before {
    content: attr(data-step);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 700;
    font-size: 0.8rem;
}

.guest-auth-step.is-active {
    opacity: 1;
    font-weight: 600;
}

.guest-auth-step.is-active::before,
.guest-auth-step.is-done::before {
    background: #28a745;
}

.guest-auth-step.is-done {
    opacity: 0.85;
}

.guest-auth-body {
    padding: 2rem;
}

.guest-auth-alert {
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
    display: none;
}

.guest-auth-alert.is-visible {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.guest-auth-alert--info {
    background: #e8f4fd;
    color: #1a5276;
    border: 1px solid #b8daf0;
}

.guest-auth-alert--success {
    background: #e8f8ef;
    color: #1e6b3a;
    border: 1px solid #b8e6c8;
}

.guest-auth-alert i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.guest-auth-field label {
    font-weight: 600;
    font-size: 0.88rem;
    color: #333;
    margin-bottom: 0.35rem;
}

.guest-auth-field .form-control {
    border-radius: 10px;
    border: 1px solid #dde3ea;
    padding: 0.65rem 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.guest-auth-field .form-control:focus {
    border-color: #2d5a87;
    box-shadow: 0 0 0 3px rgba(45, 90, 135, 0.12);
}

.guest-auth-field .form-control.is-readonly {
    background: #f4f6f8;
    color: #555;
}

.guest-auth-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.guest-auth-actions .btn-primary-custom {
    background: linear-gradient(135deg, #28a745 0%, #20903b 100%);
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    color: #fff;
    transition: transform 0.15s, box-shadow 0.15s;
}

.guest-auth-actions .btn-primary-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.35);
    color: #fff;
}

.guest-auth-actions .btn-outline-custom {
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
}

.guest-auth-message {
    font-size: 0.85rem;
    min-height: 1.25rem;
}

.guest-auth-message.text-danger {
    color: #c0392b !important;
}

.guest-auth-message.text-success {
    color: #1e6b3a !important;
}

.guest-auth-otp-wrap {
    max-width: 280px;
}

.guest-auth-otp-wrap .form-control {
    font-size: 1.35rem;
    letter-spacing: 0.35rem;
    text-align: center;
    font-weight: 700;
}

.guest-auth-phone-display {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.guest-auth-phone-display strong {
    color: #1a3a5c;
    direction: ltr;
    display: inline-block;
}

.guest-auth-back-link {
    background: none;
    border: none;
    color: #2d5a87;
    font-size: 0.85rem;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

.guest-auth-back-link:hover {
    color: #1a3a5c;
}

@media (max-width: 767px) {
    .guest-auth-header,
    .guest-auth-body {
        padding: 1.25rem;
    }

    .guest-auth-steps {
        font-size: 0.68rem;
    }
}
