/* Google Workspace Base Styles */
/* Global Styles */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #202124;
    margin: 0;
    padding: 0;
}

/* Google Navbar Styles */
.google-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e8eaed;
    box-shadow: 0 1px 6px rgba(32,33,36,.28);
    height: 64px;
    padding: 0 24px;
}

.google-navbar .navbar-brand {
    display: flex;
    align-items: center;
    color: #5f6368;
    font-size: 22px;
    font-weight: 400;
    text-decoration: none;
    padding: 0;
    margin-right: 24px;
}
.google-navbar .navbar-brand:hover {
    color: #202124;
}
.google-navbar .navbar-brand img {
    height: 27px;
    width: auto;
    margin-right: 8px;
}
.google-navbar .nav-link {
    color: #5f6368;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s;
}
.google-navbar .nav-link:hover {
    background-color: #f8f9fa;
    color: #202124;
}

/* Dropdown Styles */
.google-navbar .dropdown-menu {
    border: 1px solid #dadce0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 200px;
}
.google-navbar .dropdown-item {
    color: #202124;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    transition: background-color 0.2s;
}
.google-navbar .dropdown-item:hover {
    background-color: #f8f9fa;
}
.google-navbar .dropdown-item i {
    margin-right: 12px;
    width: 16px;
    text-align: center;
    color: #5f6368;
}
.google-navbar .dropdown-divider {
    margin: 8px 0;
    border-color: #e8eaed;
}

/* Google Sidebar Styles */
.google-sidebar {
    background-color: #f8f9fa;
    border-right: 1px solid #e8eaed;
    min-height: calc(100vh - 64px);
    padding: 24px 0;
}
.google-sidebar .nav-link {
    color: #5f6368;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 24px;
    margin: 2px 8px;
    border-radius: 0 20px 20px 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}
.google-sidebar .nav-link:hover {
    background-color: #e8f0fe;
    color: #1a73e8;
}
.google-sidebar .nav-link.active {
    background-color: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
}
.google-sidebar .nav-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

/* Workspace Switcher Styles */
.workspace-switcher {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.workspace-switcher .current-workspace {
    background: #1a73e8;
    color: white;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    /* margin-bottom: 12px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.workspace-switcher .current-workspace img {
    height: 20px;
    width: 20px;
    margin-right: 8px;
}
.workspace-list {
    max-height: 200px;
    overflow-y: auto;
}
.workspace-item {
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 13px;
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}
.workspace-item:hover {
    background-color: #f8f9fa;
}
.workspace-item.active {
    background-color: #e8f0fe;
    color: #1a73e8;
}
.workspace-item img {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}
.workspace-domain {
    color: #5f6368;
    font-size: 12px;
    margin-left: auto;
}
.workspace-item.active .workspace-domain {
    color: #1a73e8;
}

/* Section Title Styles */
.section-title {
    font-size: 12px;
    font-weight: 600;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 24px 24px 8px 24px;
    padding: 0;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 16px;
    color: #5f6368;
    font-size: 14px;
}
.loading-spinner .spinner-border {
    width: 20px;
    height: 20px;
    border-width: 2px;
    color: #1a73e8;
}

/* Main Content */
.main-content {
    background-color: #ffffff;
    min-height: calc(100vh - 64px);
    padding: 24px;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: 1px solid;
    font-size: 14px;
}
.alert-success {
    background-color: #e8f5e8;
    border-color: #4caf50;
    color: #2e7d32;
}
.alert-danger {
    background-color: #fce8e6;
    border-color: #d93025;
    color: #d93025;
}
.alert-warning {
    background-color: #fff3e0;
    border-color: #ff9800;
    color: #f57c00;
}
.alert-info {
    background-color: #e3f2fd;
    border-color: #2196f3;
    color: #1976d2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .google-navbar {
        padding: 0 16px;
    }
    .main-content {
        padding: 16px;
    }
}
