/* Modern CSS for Complaint Management System */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

/* Header with Banner */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.banner-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-text {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-container {
    max-width: 500px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.2);
}

.dashboard-container {
    max-width: 1200px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Typography */
h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    text-align: center;
    margin: 10px 5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(45deg, #5a6fd8, #6a4190);
}

.btn-secondary {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
    background: linear-gradient(45deg, #e085e8, #e04a5c);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 25px;
}

/* Form Styles */
form {
    margin-bottom: 30px;
}

input, textarea, select {
    width: 100%;
    padding: 15px 20px;
    margin: 10px 0;
    border: 2px solid #e1e8ed;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.9);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e1e8ed;
}

th {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

/* Message Styles */
.msg {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    font-weight: 500;
}

.msg.success {
    background: linear-gradient(45deg, #56ab2f, #a8e6cf);
    color: white;
}

.msg.error {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white;
}

/* Navigation */
.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e8ed;
}

.nav-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
}

.logout {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 65, 108, 0.3);
}

/* Status Badges */
.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: linear-gradient(45deg, #ffa726, #ff9800);
    color: white;
}

.status-progress {
    background: linear-gradient(45deg, #42a5f5, #2196f3);
    color: white;
}

.status-resolved {
    background: linear-gradient(45deg, #66bb6a, #4caf50);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container, .dashboard-container {
        margin: 20px;
        padding: 20px;
    }
    
    .banner-text {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        margin: 5px 0;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 10px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    animation: fadeIn 0.6s ease-out;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
} 