* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-blue: #1a73e8;
    --secondary-blue: #4285f4;
    --light-blue: #e8f0fe;
    --dark-blue: #174ea6;
    --text-dark: #202124;
    --text-light: #5f6368;
    --error: #d93025;
    --white: #ffffff;
}

body {
    min-height: 100vh;
    background: var(--white);
}

.main-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Panel Styles */
.image-panel {
    flex: 0.6;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--white);
}

.image-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.image-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.image-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 32px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 500;
}

/* Products Section */
.products-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.products-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
    text-align: center;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: var(--white);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(66, 133, 244, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover::before {
    opacity: 1;
}

.product-content {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-icon i {
    font-size: 28px;
    color: var(--white);
}

.product-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

.product-item p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.product-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.product-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.product-link:hover i {
    transform: translateX(3px);
}

/* Right Panel Styles */
.login-panel {
    flex: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--white);
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo {
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-width: 200px;
    height: auto;
    display: block;
}

.logo i {
    font-size: 40px;
    color: var(--primary-blue);
}

.logo h2 {
    color: var(--primary-blue);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 3px;
}

.subtitle {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.input-group i:first-child {
    left: 15px;
    color: var(--primary-blue);
}

.input-group .toggle-password {
    right: 15px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.input-group .toggle-password:hover {
    color: var(--primary-blue);
}

.input-group input {
    width: 100%;
    padding: 10px 40px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 13px;
}

.forgot-password {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 13px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: var(--dark-blue);
}

.error-message {
    color: var(--error);
    font-size: 13px;
    text-align: center;
    display: none;
}

/* Support Info Styles */
.support-info {
    margin-top: 15px;
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #dadce0;
}

.support-number {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
}

.support-hours {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 10px;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #25D366;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 15px;
    background: rgba(37, 211, 102, 0.1);
    transition: all 0.3s ease;
    font-size: 13px;
}

.whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateY(-2px);
}

.whatsapp-link i {
    font-size: 16px;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
    padding: 10px 0;
    border-top: 1px solid #dadce0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 12px;
    background: var(--light-blue);
    transition: all 0.3s ease;
    min-width: 100px;
    justify-content: center;
    font-size: 12px;
}

.social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 14px;
}

/* Powered By */
.powered-by {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #dadce0;
}

.powered-by a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.powered-by a:hover {
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-container {
        flex-direction: column;
    }

    .image-panel, .login-panel {
        flex: 1;
        width: 100%;
        padding: 20px;
    }

    .image-panel {
        padding: 40px 20px;
    }

    .feature-grid, .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .image-panel {
        display: none; /* Hide the left panel on mobile */
    }

    .login-panel {
        flex: 1;
        min-height: 100vh;
    }

    .logo img {
        max-width: 180px;
    }

    .feature-grid, .product-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .image-content h1 {
        font-size: 28px;
    }

    .image-content p {
        font-size: 16px;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 6px;
    }

    .social-link {
        min-width: 90px;
        padding: 3px 6px;
    }

    .product-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-content {
        padding: 25px;
    }

    .product-icon {
        width: 50px;
        height: 50px;
    }

    .product-icon i {
        font-size: 24px;
    }

    .product-item h3 {
        font-size: 20px;
    }

    .product-item p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 15px;
    }

    .logo img {
        max-width: 150px;
    }

    .social-links {
        flex-direction: column;
        gap: 6px;
    }

    .social-link {
        width: 100%;
        max-width: 180px;
    }

    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Home Page Styles */
.home-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--white);
}

.home-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.home-content h1 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.home-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.dashboard-item {
    background: var(--light-blue);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.dashboard-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-item i {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.dashboard-item h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.dashboard-item p {
    font-size: 14px;
    color: var(--text-light);
}

.logout-section {
    margin-top: 40px;
}

.logout-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.logout-btn i {
    font-size: 16px;
}

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .home-content h1 {
        font-size: 28px;
    }

    .home-content p {
        font-size: 16px;
    }
}

/* Top Bar Styles */
.top-bar {
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.username {
    color: #1a73e8;
    font-size: 0.9rem;
    font-weight: 500;
}

.settings-icon, .logout-icon {
    color: #1a73e8;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.settings-icon:hover, .logout-icon:hover {
    color: #174ea6;
}

/* Navigation Bar Styles */
.navbar {
    background-color: #1a73e8;
    padding: 0.5rem 1rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    width: auto;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    margin-left: auto; /* This pushes the menu to the right */
}

.nav-menu li {
    margin: 0 5px;
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

.nav-menu a:hover {
    background-color: #174ea6;
    border-radius: 4px;
}

.nav-menu i {
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Submenu Styles */
.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1a73e8;
    min-width: 200px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.has-submenu:hover > .submenu {
    display: block;
}

.submenu li {
    margin: 0;
    width: 100%;
    position: relative;
}

.submenu a {
    padding: 10px 15px;
    white-space: nowrap;
}

.submenu a:hover {
    background-color: #174ea6;
}

/* Nested Submenu Styles */
.submenu .submenu {
    top: 0;
    left: 100%;
    margin-left: 2px;
    display: none;
}

.submenu li.has-submenu:hover > .submenu {
    display: block;
}

.menu-icon {
    display: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a73e8;
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 5px 0;
        width: 100%;
    }

    .nav-menu a {
        padding: 10px 20px;
        justify-content: flex-start;
    }

    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }

    .submenu .submenu {
        padding-left: 20px;
        margin-left: 0;
    }

    .has-submenu:hover > .submenu {
        display: block;
    }
}

/* Dashboard Styles */
.dashboard-container {
    padding: 2rem;
    background-color: #f5f7fa;
    min-height: calc(100vh - 120px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    color: #1a73e8;
    font-size: 1.8rem;
    margin: 0;
}

.date-filter {
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background-color: #e8f0fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: #1a73e8;
}

.stat-info h3 {
    margin: 0;
    font-size: 0.9rem;
    color: #5f6368;
}

.stat-number {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #202124;
}

.stat-change {
    margin: 0;
    font-size: 0.8rem;
    color: #5f6368;
}

.stat-change.positive {
    color: #34a853;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.recent-activity, .quick-actions {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.recent-activity h2, .quick-actions h2 {
    color: #1a73e8;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.activity-item:hover {
    background-color: #f8f9fa;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background-color: #e8f0fe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.activity-icon i {
    color: #1a73e8;
}

.activity-details p {
    margin: 0;
    color: #202124;
}

.activity-time {
    font-size: 0.8rem;
    color: #5f6368;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.action-btn {
    background-color: #e8f0fe;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: #1a73e8;
    color: white;
}

.action-btn i {
    font-size: 1.5rem;
}

.action-btn span {
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }
}

/* Charts Section Styles */
.charts-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.chart-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chart-card h2 {
    color: #1a73e8;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.chart-card canvas {
    width: 100% !important;
    height: 300px !important;
}

/* Right Panel Styles */
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.panel-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.panel-section h2 {
    color: #1a73e8;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border-radius: 8px;
    background: #f8f9fa;
    transition: background-color 0.3s;
}

.schedule-item:hover {
    background: #e8f0fe;
}

.schedule-time {
    min-width: 80px;
    font-weight: 500;
    color: #1a73e8;
}

.schedule-details {
    flex: 1;
}

.schedule-details p {
    margin: 0;
    color: #202124;
}

.schedule-status {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.schedule-status.pending {
    background: #fef7e0;
    color: #f9ab00;
}

.schedule-status.in-progress {
    background: #e8f0fe;
    color: #1a73e8;
}

.schedule-status.completed {
    background: #e6f4ea;
    color: #34a853;
}

.critical-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.critical-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border-radius: 8px;
    background: #fce8e6;
    transition: background-color 0.3s;
}

.critical-item:hover {
    background: #fad2cf;
}

.critical-item i {
    color: #d93025;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.critical-details {
    flex: 1;
}

.critical-details p {
    margin: 0;
    color: #202124;
    font-weight: 500;
}

.critical-time {
    font-size: 0.8rem;
    color: #5f6368;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .charts-section {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .right-panel {
        margin-top: 1.5rem;
    }
} 