/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
}

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

h1, h2, h3 {
    margin-bottom: 20px;
    color: #333;
}

p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e91e63;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #d81b60;
}

.input-field {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.textarea {
    min-height: 100px;
    resize: vertical;
}

.select-field {
    height: 45px;
}

/* Login Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #ffb6c1;
}

.login-form {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.login-form h1 {
    text-align: center;
    color: #e91e63;
    margin-bottom: 30px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
}

.login-btn:hover {
    background-color: #45a049;
}

/* Welcome Page Styles */
.welcome-container {
    background-color: #e91e63;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.welcome-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.welcome-content h1, .welcome-content p {
    margin-bottom: 20px;
}

/* Grievance Form Styles */
.grievance-container {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    padding-top: 50px;
    padding-bottom: 50px;
}

.grievance-form {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.grievance-form h1 {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.submit-btn {
    width: 100%;
    padding: 12px;
}

/* Confirmation Styles */
.confirmation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
}

.confirmation-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.confirmation-content h1 {
    color: #e91e63;
    margin-bottom: 20px;
}

.confirmation-content p {
    margin-bottom: 15px;
    font-size: 18px;
}

/* Dashboard Styles */
.dashboard-container {
    padding: 30px;
    max-width: 1200px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.logout-btn {
    background-color: #f44336;
}

.logout-btn:hover {
    background-color: #d32f2f;
}

.dashboard-section {
    margin-bottom: 40px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.user-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.user-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.grievance-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.grievance-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.grievance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.grievance-mood {
    font-size: 24px;
}

.grievance-content {
    margin-bottom: 15px;
    line-height: 1.5;
}

.grievance-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    color: #777;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.grievance-severity {
    font-weight: bold;
    color: #e91e63;
}

.alert {
    padding: 10px;
    background-color: #f44336;
    color: white;
    margin-top: 15px;
    border-radius: 5px;
    text-align: center;
}