/* Global Styles & Variables */
:root {
    --primary-bg: linear-gradient(rgba(30, 40, 50, 0.7), rgba(30, 40, 50, 0.7)), url('/img/bg.jpg');
    --glass-bg: rgba(10, 20, 30, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-color: white;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --input-bg: rgba(0, 0, 0, 0.3);
    --input-border: rgba(255, 255, 255, 0.2);
    --button-primary-bg: rgba(0, 123, 255, 0.6);
    --button-primary-hover: rgba(0, 123, 255, 0.8);
    --button-secondary-bg: rgba(255, 255, 255, 0.1);
    --button-secondary-hover: rgba(255, 255, 255, 0.2);
    --button-success-bg: rgba(40, 167, 69, 0.6);
    --button-success-hover: rgba(40, 167, 69, 0.8);
    --button-danger-bg: rgba(220, 53, 69, 0.6);
    --button-danger-hover: rgba(220, 53, 69, 0.8);
    --font-body: 'Roboto', sans-serif;
    --font-display: 'Playfair Display', serif;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&family=Playfair+Display:wght@700&display=swap');

body {
    font-family: var(--font-body);
    background-image: var(--primary-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    box-sizing: border-box;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 30px auto;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    padding: 30px;
}

h1, h2, h3, h4 {
    font-weight: 500;
    text-shadow: 0 2px 4px var(--shadow-color);
    margin-top: 0;
}

p {
    opacity: 0.9;
}

/* Forms & Buttons */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="password"],
textarea {
    font-size: 1rem;
    padding: 12px 15px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-color);
}

textarea {
    min-height: 120px;
}

button, .button-style {
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s, transform 0.1s;
    backdrop-filter: blur(5px);
    border: 1px solid var(--input-border);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

button:active, .button-style:active {
    transform: scale(0.98);
}

.btn-primary { background-color: var(--button-primary-bg); }
.btn-primary:hover { background-color: var(--button-primary-hover); }

.btn-secondary { background-color: var(--button-secondary-bg); }
.btn-secondary:hover { background-color: var(--button-secondary-hover); }

.btn-success { background-color: var(--button-success-bg); }
.btn-success:hover { background-color: var(--button-success-hover); }

.btn-danger { background-color: var(--button-danger-bg); }
.btn-danger:hover { background-color: var(--button-danger-hover); }


/* Specific Component Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--input-border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.action-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.user-management h3 {
    border-bottom: 1px solid var(--input-border);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#notification {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    font-weight: 500;
}
.success { background-color: #28a745; }
.error { background-color: #dc3545; }

/* Login & Change Password Specific */
.login-container {
    max-width: 450px;
}

.secondary-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 15px;
}
.secondary-actions button {
    width: 100%;
}

#error-message {
    color: #ff4d4d;
    text-align: center;
    margin-top: 15px;
    display: none;
}
