/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2f2f2;
    color: #333;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

h1,
h2,
h3 {
    font-weight: 500;
}

a {
    text-decoration: none;
    color: #0d6efd;
}

a:hover {
    color: #0a58ca;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
    /* Crucial for full width */
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.btn-primary {
    background-color: #0d6efd;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background-color: #bb2d3b;
}

/* Sidebar & Admin */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #fff;
    flex-shrink: 0;
}

.sidebar-brand {
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li a {
    display: block;
    padding: 15px 20px;
    color: #bdc3c7;
    transition: background-color 0.2s, color 0.2s;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background-color: #34495e;
    color: #fff;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    background-color: #f4f6f9;
}

.top-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

/* Message Styles */
.message-success {
    color: #198754;
    background-color: #d1e7dd;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.message-error {
    color: #842029;
    background-color: #f8d7da;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    border: 1px solid #dfe3e8;
    text-align: left;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Rama University Login Styles */
.login-header-logo {
    margin-bottom: 30px;
    text-align: center;
}

.login-header-logo img {
    height: 100px;
}

.rama-login-card {
    background-color: #fff;
    border: 1px solid #4285f4;
    border-radius: 4px;
    padding: 30px;
    width: 500px;
    box-sizing: border-box;
}

.rama-login-title {
    color: #0d6efd;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    text-decoration: underline;
}

.radio-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.radio-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.radio-item label {
    margin-left: 8px;
    color: #0d6efd;
    font-size: 12px;
}

.rama-label {
    display: block;
    color: #0d6efd;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

.rama-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #4285f4;
    border-radius: 2px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.rama-btn-login {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.rama-forgot-btn {
    background-color: #4fc3f7;
    color: white;
    width: 500px;
    padding: 12px;
    border: none;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.rama-radio-list label {
    margin-left: 10px;
    margin-right: 20px;
    color: #0d6efd;
    font-size: 14px;
    font-weight: bold;
}

.rama-radio-list input {
    cursor: pointer;
}

.rama-footer {
    margin-top: 40px;
    font-size: 14px;
    color: #666;
    font-weight: bold;
}