/* Modern UI Variables */
:root {
    --primary-color: #4e73df;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
    --sidebar-bg: #4e73df;
    --sidebar-text: #ffffff;
    --card-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fc;
    color: #5a5c69;
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
}

.login-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
}

.login-image {
    background: url('../images/20042655_m.jpg') center center no-repeat;
    background-size: cover;
    min-height: 100%;
}

.login-form-container {
    padding: 3rem;
}

.form-floating > label {
    color: #858796;
}

.btn-login {
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    padding: 0.75rem 1rem;
    border-radius: 10rem;
}

.btn-google {
    color: white;
    background-color: #ea4335;
    border-color: #ea4335;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    padding: 0.75rem 1rem;
    border-radius: 10rem;
}

.btn-google:hover {
    background-color: #c23321;
    border-color: #c23321;
    color: white;
}

/* Dashboard Styles */
.dashboard-wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    transition: all 0.3s;
    min-height: 100vh;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: rgba(0, 0, 0, 0.1);
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 15px 20px;
    font-size: 1.1em;
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: 0.3s;
}

#sidebar ul li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

#sidebar ul li.active > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* Tool Cards */
.tool-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease-in-out;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-right: 1rem;
}

.tool-card .card-body {
    padding: 1.5rem;
}

.tool-card a {
    text-decoration: none;
    color: var(--dark-color);
}

.tool-card a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    .login-image {
        display: none;
    }
}
