.feedback-login-prompt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem;
}

.feedback-login-prompt-content {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(15, 23, 42, 0.06);
    position: relative;
    z-index: 1001;
    overflow: hidden;
    animation: feedbackLoginSlideUp 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes feedbackLoginSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feedback-login-prompt-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.feedback-login-prompt-close:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.05);
}

.feedback-login-prompt-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.feedback-login-prompt-hero {
    position: relative;
    text-align: center;
    padding: 2rem 1.75rem 1.5rem;
    background: linear-gradient(145deg, #1565C0 0%, #0d47a1 55%, #063a7a 100%);
    color: #fff;
    overflow: hidden;
}

.feedback-login-prompt-hero::before,
.feedback-login-prompt-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.feedback-login-prompt-hero::before {
    width: 140px;
    height: 140px;
    top: -50px;
    right: -30px;
    background: rgba(255, 255, 255, 0.08);
}

.feedback-login-prompt-hero::after {
    width: 90px;
    height: 90px;
    bottom: -30px;
    left: -20px;
    background: rgba(16, 185, 129, 0.15);
}

.feedback-login-prompt-icon-wrap {
    position: relative;
    z-index: 1;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feedback-login-prompt-hero h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
}

.feedback-login-prompt-tagline {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.feedback-login-prompt-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.feedback-login-benefits {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.feedback-login-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #475569;
}

.feedback-login-benefit-icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-login-prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.feedback-btn-login,
.feedback-btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    font-family: inherit;
}

.feedback-btn-login {
    background: linear-gradient(135deg, #1565C0, #0d47a1);
    color: #fff;
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.35);
}

.feedback-btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.4);
}

.feedback-btn-login:focus-visible {
    outline: 2px solid #1565C0;
    outline-offset: 2px;
}

.feedback-btn-register {
    background: #f8fafc;
    color: #1565C0;
    border: 1px solid #dbeafe;
}

.feedback-btn-register:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.feedback-btn-register:focus-visible {
    outline: 2px solid #1565C0;
    outline-offset: 2px;
}

.feedback-btn-later {
    display: block;
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

.feedback-btn-later:hover {
    color: #64748b;
}

.feedback-btn-later:focus-visible {
    outline: 2px solid #94a3b8;
    outline-offset: 2px;
    border-radius: 6px;
}

.request-feedback-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.request-feedback-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.feedback-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.feedback-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1001;
}

.feedback-modal-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.feedback-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.feedback-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.feedback-modal-body {
    padding: 1.5rem;
}

.request-feedback-form {
    margin-bottom: 1.5rem;
}

.request-feedback-form .form-group {
    margin-bottom: 1rem;
}

.request-feedback-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.request-feedback-form .feedback-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: white;
}

.request-feedback-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
}

.request-feedback-form input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
}

.request-feedback-form textarea:focus,
.request-feedback-form input[type="text"]:focus,
.request-feedback-form .feedback-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.feedback-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.feedback-actions .btn-cancel,
.feedback-actions .btn-confirm {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.feedback-actions .btn-cancel {
    background: #f3f4f6;
    color: #374151;
}

.feedback-actions .btn-cancel:hover {
    background: #e5e7eb;
}

.feedback-actions .btn-confirm {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.feedback-actions .btn-confirm:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

@media (max-width: 640px) {
    .feedback-modal-content {
        width: 95%;
        margin: 1rem;
    }

    .feedback-modal-header,
    .feedback-modal-body {
        padding: 1rem;
    }

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

    .feedback-actions .btn-cancel,
    .feedback-actions .btn-confirm {
        width: 100%;
        justify-content: center;
    }

    .request-feedback-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .feedback-login-prompt {
        padding: 0.75rem;
        align-items: flex-end;
    }

    .feedback-login-prompt-content {
        border-radius: 20px 20px 16px 16px;
        max-width: none;
    }

    .feedback-login-prompt-hero {
        padding: 1.75rem 1.25rem 1.25rem;
    }

    .feedback-login-prompt-hero h3 {
        font-size: 1.2rem;
    }

    .feedback-login-prompt-body {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .feedback-login-prompt-actions {
        gap: 0.5rem;
    }

    .feedback-btn-login,
    .feedback-btn-register {
        width: 100%;
    }
}
