/* Feedback Page Styles */

.feedback-page {
    padding: 100px 0 60px;
    min-height: 85vh;
    background: #1a1a1a;
}

.feedback-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.feedback-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    padding: 2rem;
}

.feedback-card h1 {
    color: var(--bs-primary);
    margin: 0 0 0.7rem 0;
    font-size: 2rem;
    line-height: 1.15;
}

.feedback-intro {
    color: #d3d3d3;
    margin: 0 0 1rem 0;
}

.feedback-auth-banner {
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    font-size: 0.94rem;
}

.feedback-auth-banner.logged-in {
    color: #9df0ab;
    background: rgba(68, 148, 79, 0.2);
    border-color: rgba(96, 204, 113, 0.35);
}

.feedback-auth-banner.logged-out {
    color: #ffcfb0;
    background: rgba(148, 95, 68, 0.2);
    border-color: rgba(240, 160, 96, 0.35);
}

.feedback-auth-banner a {
    color: #ffffff;
    text-decoration: underline;
}

#feedback-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

#feedback-form label {
    color: #b0b0b0;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.35rem;
}

#feedback-form input,
#feedback-form textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.85rem 0.95rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Arial', 'Helvetica', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

#feedback-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #212121;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.85rem 2.5rem 0.85rem 0.95rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: 'Arial', 'Helvetica', sans-serif;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
}

#feedback-form select:hover {
    background-color: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.3);
}

#feedback-form select:focus {
    outline: none;
    border-color: var(--bs-primary);
    background-color: #2a2a2a;
}

#feedback-form select option {
    background: #212121;
    color: #ffffff;
    padding: 0.5rem;
}

#feedback-form textarea {
    resize: vertical;
    min-height: 180px;
}

#feedback-form input:focus,
#feedback-form textarea:focus {
    outline: none;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 2px rgba(31, 157, 39, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.feedback-help {
    color: #b0b0b0;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.35;
}

.feedback-counter {
    color: #9a9a9a;
    font-size: 0.8rem;
    text-align: right;
    margin-top: -0.3rem;
}

.feedback-counter.near-limit {
    color: #ff8a8a;
}

.feedback-status {
    display: none;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    border: 1px solid transparent;
    font-size: 0.9rem;
    line-height: 1.35;
    margin-top: 0.25rem;
}

.feedback-status.success {
    color: #9df0ab;
    background: rgba(68, 148, 79, 0.2);
    border-color: rgba(96, 204, 113, 0.35);
}

.feedback-status.error {
    color: #ffacac;
    background: rgba(166, 56, 56, 0.2);
    border-color: rgba(255, 120, 120, 0.35);
}

.feedback-status.info {
    color: #d8d8d8;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.feedback-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.3rem;
}

.feedback-actions .btn,
.feedback-actions .btn-primary {
    background: var(--bs-primary);
    color: var(--white);
    border: 1px solid rgba(31, 157, 39, 0.6);
    box-shadow: 0 4px 12px rgba(31, 157, 39, 0.25);
    padding: 1rem;
}

.feedback-actions .btn:hover,
.feedback-actions .btn-primary:hover {
    background: color-mix(in srgb, var(--bs-primary), white 12%);
    color: var(--white);
}

#feedback-submit[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .feedback-card {
        padding: 1.25rem;
    }

    .feedback-card h1 {
        font-size: 1.6rem;
    }
}
