:root {
    --primary-color: #1e88e5; /* Blue */
    --primary-gradient: linear-gradient(135deg, #2196f3, #1565c0);
    --secondary-color: #2e7d32; /* Green */
    --bg-gradient: linear-gradient(135deg, #42a5f5, #1976d2);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --text-white: #ffffff;
    --text-secondary: #e0e0e0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--glass-shadow);
    text-align: center;
}

.logo-area {
    margin-bottom: 2rem;
}

.logo-circle {
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.logo-circle img {
    width: 40px;
    height: auto;
}

h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

p.subtitle {
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    border: none;
    background: #1b5e20; /* Darker green based on image */
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.divider span {
    padding: 0 10px;
}

.btn-google {
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    border: none;
    background: white;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s;
}

.btn-google:hover {
    background: #f5f5f5;
}

.footer-text {
    margin-top: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.version-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Dashboard Specifics */
.dashboard-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.content-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    color: #333;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    font-weight: 600;
    color: #555;
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f5f5f5;
}

.action-btn {
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 5px;
    cursor: pointer;
    border: none;
}

.btn-edit {
    background-color: #ff9800;
    color: white;
}
.btn-delete {
    background-color: #f44336;
    color: white;
}
.btn-add {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

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

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 50%;
    max-width: 500px;
    color: #333;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.close {
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}
.modal-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    color: #333;
}
