* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
    background: linear-gradient(135deg, #0a2540 0%, #1e3a8a 100%);
    color: white; min-height: 100vh; 
}

.container { max-width: 800px; margin: 0 auto; padding: 20px; }
.header { text-align: center; margin-bottom: 40px; }
.logo h1 { font-size: 2.5em; margin-bottom: 0; }
.logo p { opacity: 0.9; font-size: 1.1em; }

.hero { text-align: center; margin-bottom: 40px; }
.hero h2 { font-size: 2em; margin-bottom: 10px; }

.success-msg { 
    background: #10b981; padding: 15px; border-radius: 10px; 
    text-align: center; margin-bottom: 30px; 
}

.feedback-form { 
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    padding: 30px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 500; }
input, select, textarea { 
    width: 100%; padding: 12px; border: none; border-radius: 10px; 
    background: rgba(255,255,255,0.9); font-size: 16px;
}
textarea { resize: vertical; }

.options-group { 
    display: flex; flex-direction: column; gap: 15px; 
    background: rgba(255,255,255,0.05); padding: 20px; border-radius: 10px;
}
.options-group label { display: flex; align-items: center; gap: 10px; cursor: pointer; }

.submit-btn { 
    width: 100%; padding: 15px; background: #f59e0b; /* TAROM orange */
    color: white; border: none; border-radius: 12px; font-size: 18px; 
    font-weight: bold; cursor: pointer; transition: all 0.3s;
}
.submit-btn:hover { background: #d97706; transform: translateY(-2px); }

.trust-info { 
    text-align: center; margin-top: 40px; opacity: 0.8; 
    border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px;
}

@media (max-width: 768px) { .container { padding: 15px; } .logo h1 { font-size: 2em; } }

/* Radio buttons stilizate */
.radio-option { 
    display: flex; align-items: flex-start; gap: 12px; 
    padding: 15px; border-radius: 10px; background: rgba(255,255,255,0.05);
    cursor: pointer; transition: background 0.3s;
}
.radio-option:hover { background: rgba(255,255,255,0.1); }
.radio-option input[type="radio"] { margin-top: 2px; }
.radio-option span { font-weight: 500; font-size: 16px; }
.radio-option small { opacity: 0.8; display: block; margin-top: 4px; }

/* Modal popup erori */
.modal { 
    display: none; position: fixed; z-index: 1000; left: 0; top: 0; 
    width: 100%; height: 100%; background: rgba(0,0,0,0.8); 
    align-items: center; justify-content: center;
}
.modal-content {
    background: #1e293b; padding: 30px; border-radius: 15px; 
    max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto;
    position: relative;
}
.close { 
    position: absolute; right: 15px; top: 15px; font-size: 28px; 
    cursor: pointer; color: #94a3b8;
}
.close:hover { color: white; }
#errorList { color: #f87171; margin-top: 15px; }
#errorList li { margin: 8px 0; }

/* Admin dashboard */
.admin-body { background: #0f172a; }
.admin-container { max-width: 1400px; margin: 0 auto; padding: 20px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.user-info { display: flex; gap: 15px; align-items: center; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { 
    background: linear-gradient(135deg, #1e293b, #334155); text-align: center; 
    padding: 25px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.stat-card strong { font-size: 2.5em; display: block; color: #f59e0b; }

.chart-section { background: #1e293b; padding: 25px; border-radius: 15px; margin-bottom: 30px; }
.chart-section canvas { max-height: 300px; }

.table-section h3 { margin-bottom: 20px; color: #f1f5f9; }
.table-filters { display: flex; gap: 15px; margin-bottom: 20px; }
.table-filters select, .table-filters input { padding: 10px; border-radius: 8px; border: none; }

.table-responsive { overflow-x: auto; background: #1e293b; border-radius: 15px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid #334155; }
th { background: #1e40af; color: white; }

.status-select { padding: 5px 10px; border-radius: 6px; border: 1px solid #475569; background: white; }
.contact-mark { background: #10b981; color: white; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.view-btn { background: #3b82f6; color: white; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; }

.btn-secondary { background: #64748b; color: white; padding: 8px 16px; text-decoration: none; border-radius: 8px; }
/* Badge-uri pentru TOATE categoriile */
.category-badge { 
    padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: bold; 
    text-transform: capitalize;
}
.category-badge.operational { background: #f59e0b; }
.category-badge.naviganti { background: #10b981; }
.category-badge.management { background: #ef4444; }
.category-badge.planning { background: #3b82f6; }
.category-badge.performance { background: #8b5cf6; }
.category-badge.cultura { background: #f97316; }
.category-badge.sugestii { background: #06b6d4; }
.anon-tag { background: #64748b; color: white; padding: 4px 8px; border-radius: 12px; font-size: 11px; }
.title-cell { cursor: pointer; }
.title-cell:hover { background: rgba(255,255,255,0.1); }


/* Login page */
.login-body { background: linear-gradient(135deg, #0a2540 0%, #1e3a8a 100%); min-height: 100vh; display: flex; align-items: center; }
.login-container { max-width: 400px; margin: 0 auto; padding: 20px; width: 100%; }
.login-card { 
    background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); 
    padding: 40px; border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.4); 
    text-align: center;
}
.login-card h2 { margin-bottom: 10px; }
.error-msg { 
    background: #ef4444; padding: 12px; border-radius: 8px; margin-bottom: 20px; 
    border-left: 4px solid #dc2626;
}
.login-btn { 
    width: 100%; padding: 15px; background: #10b981; border: none; 
    border-radius: 12px; font-size: 16px; font-weight: bold; color: white;
    cursor: pointer; transition: all 0.3s;
}
.login-btn:hover { background: #059669; transform: translateY(-2px); }
.login-info { margin-top: 25px; opacity: 0.8; }

/* Detalii feedback */
.feedback-card { 
    background: rgba(255,255,255,0.08); padding: 30px; border-radius: 20px; 
    margin-bottom: 30px; border-left: 5px solid #f59e0b;
}
.feedback-header { display: flex; gap: 15px; margin-bottom: 15px; }
.status-badge { 
    padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: bold;
    background: #10b981; color: white;
}
.status-badge.inchis { background: #6b7280; }
.feedback-meta { opacity: 0.8; margin-bottom: 20px; font-size: 14px; }
.feedback-content { line-height: 1.6; white-space: pre-wrap; }

.action-buttons { 
    display: flex; gap: 15px; margin-bottom: 30px; flex-wrap: wrap;
}
.resolve-btn, .status-btn { 
    padding: 12px 24px; border: none; border-radius: 10px; 
    font-weight: bold; cursor: pointer; transition: all 0.3s;
}
.resolve-btn { background: #10b981; color: white; }
.status-btn { background: #3b82f6; color: white; }
.status-btn.analiza { background: #f59e0b; }
.status-btn.discutie { background: #8b5cf6; }

.comments-section h3 { margin-bottom: 20px; color: #f1f5f9; }
.comment { 
    background: rgba(255,255,255,0.05); padding: 20px; 
    border-radius: 15px; margin-bottom: 15px; border-left: 4px solid #64748b;
}
.comment-meta { display: flex; justify-content: space-between; margin-bottom: 10px; opacity: 0.8; }
.no-comments { text-align: center; opacity: 0.7; font-style: italic; }

.new-comment-form { 
    background: rgba(255,255,255,0.05); padding: 25px; border-radius: 15px;
}
.form-row { display: flex; gap: 15px; align-items: end; margin-top: 15px; }
.form-row input[readonly] { background: #475569; opacity: 0.7; flex: 1; }
.add-comment-btn { 
    background: #10b981; color: white; border: none; padding: 12px 24px; 
    border-radius: 10px; font-weight: bold; cursor: pointer;
}

