:root {
    --primary: #009494;
    --secondary: #206080;
    --accent: #ffb526;
    --bg: #f4f7f6;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg);
    margin: 0;
    color: #333;
}

/* LOGIN STYLES */
.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.login-box h1 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin: 20px 0;
}

.field {
    text-align: left;
    margin-bottom: 15px;
}

.field label {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #777;
    margin-bottom: 5px;
}

.field input {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

button {
    width: 100%;
    padding: 12px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover { background: var(--primary); }

.error-msg { color: #e74c3c; font-size: 0.9rem; margin-bottom: 15px; }

/* DASHBOARD STYLES */
.top-bar {
    background: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.btn-logout {
    text-decoration: none;
    color: #777;
    font-size: 0.9rem;
    font-weight: bold;
}

.dashboard {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.welcome h2 { color: var(--secondary); margin-bottom: 5px; }
.welcome p { color: #777; margin-bottom: 30px; }

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.tool-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--accent);
}

.tool-icon {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(0, 148, 148, 0.1);
    padding: 15px;
    border-radius: 10px;
}

.tool-info h3 { margin: 0; color: var(--secondary); }
.tool-info p { margin: 5px 0 0; font-size: 0.9rem; color: #888; }

.tool-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(1);
}