body {
    background: linear-gradient(180deg, #78a6c8 0%, #e6eef3 30%, #e6eef3 100%);
    min-height: 100vh;
}

.hero-section {
    padding: 2rem 0;
    padding-bottom: 0;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #34495e;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

.feedback-section {
    padding: 40px 0;
}

.search-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.search-container .d-flex {
    max-width: 800px;
    margin: 0 auto;
}

.search-container .input-group {
    flex: 1;
}

.search-container .input-group-text {
    border-radius: 6px 0 0 6px;
    border: 1px solid #e9ecef;
    border-right: none;
    background: white;
}

.search-container .form-control {
    border-radius: 0 6px 6px 0;
    padding: 0.6rem 1rem;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.search-container .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(120, 166, 200, 0.25);
    border-color: #78a6c8;
}

/* Empty State Message */
.empty-state-message {
    text-align: center;
    padding: 2rem 0;
    color: #6b7280;
}

.empty-state-message i {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
    display: block;
}

.empty-state-message h3 {
    margin: 0.5rem 0;
    color: #4b5563;
    font-weight: 500;
    font-size: 1.125rem;
}

.empty-state-message p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

.table-responsive {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.feedback-table {
    background: white;
    margin-bottom: 0;
}

.feedback-table thead {
    background-color: rgba(120, 166, 200, 0.1);
    border-bottom: 2px solid rgba(120, 166, 200, 0.2);
}

.feedback-table th {
    padding: 1rem;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: none;
}

.feedback-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.feedback-table th.sortable:hover {
    background-color: #f1f5f9;
}

.feedback-table th i {
    font-size: 0.875rem;
    vertical-align: middle;
}

.feedback-table th i.fa-sort {
    color: #cbd5e1;
}

.feedback-table th i.fa-sort-up,
.feedback-table th i.fa-sort-down {
    color: #3b82f6;
}

.feedback-table td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #e2e8f0;
}

.feedback-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.feedback-type.bug {
    background-color: #fee2e2;
    color: #dc2626;
}

.feedback-type.feedback {
    background-color: #e0f2fe;
    color: #0284c7;
}

.feedback-type.idea {
    background-color: #ecfdf5;
    color: #059669;
}

.feedback-message {
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 400px;
}

.feedback-detail-link {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.feedback-detail-link i {
    color: #cbd5e1;
    opacity: 0;
    transition: all 0.2s ease;
}

.feedback-detail-link:hover {
    color: #3b82f6;
    text-decoration: none;
}

.feedback-detail-link:hover i {
    opacity: 1;
    color: #3b82f6;
}

.feedback-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.feedback-page {
    color: #6b7280;
    text-decoration: none;
}

.feedback-page:hover {
    color: #3b82f6;
}

.feedback-votes {
    display: flex;
    align-items: center;
    justify-content: center;
}

.total-votes {
    font-size: 1rem;
    font-weight: 600;
    color: #3b82f6;
    background-color: #e0f2fe;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    min-width: 2.5rem;
    text-align: center;
}

.feedback-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.importance-wrapper {
    position: relative;
}

.importance-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 1;
}

.importance-select[disabled] {
    background-color: #fff;
    cursor: pointer;
    opacity: 1;
    color: #1f2937;
}

@media (max-width: 768px) {
    .table-responsive {
        border-radius: 12px;
    }

    .feedback-message {
        max-width: 200px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .feedback-votes {
        white-space: nowrap;
    }

    .search-container {
        padding: 1rem;
        margin: 1rem 0;
    }

    .search-container .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }

    .search-container .btn {
        width: 100%;
    }

    .search-container .form-control {
        height: 38px;
        font-size: 0.9rem;
    }

    .search-container .input-group-text {
        padding: 0.5rem;
    }
}

/* Auth Modal Styles */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.auth-modal.show {
    display: block;
    padding-top: 50px;
}

.auth-modal-content {
    background: white;
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.auth-modal-header h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

.auth-modal-message {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #333;
}

.auth-modal .form-label {
    font-weight: 500;
    color: #2c3e50;
}

.auth-modal .form-control {
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.auth-modal .form-control:focus {
    border-color: #78a6c8;
    box-shadow: 0 0 0 0.25rem rgba(120, 166, 200, 0.25);
}

.auth-modal .btn-primary {
    font-weight: 500;
}

.auth-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 20px;
}

.auth-footer a {
    color: #3b82f6;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .auth-modal-content {
        margin: 20px;
        padding: 20px;
    }

    .auth-modal.show {
        padding-top: 20px;
    }
}
