/* Theme Variables */
:root {
    /* Dark Theme (Default) */
    --brand-primary: #7C4DFF;
    --brand-secondary: #00E5FF;
    --brand-accent: #FF4081;
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --bg-element: #2D2D2D;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-tertiary: #7E7E7E;
    --border-color: #3D3D3D;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --success: #00C853;
    --warning: #FFD600;
    --error: #FF1744;
    --info: #00B0FF;
    --neutral: #9E9E9E;

    /* Provider Colors */
    --provider-hetzner: #FF5252;
    --provider-contabo: #2979FF;
    --provider-proxmox: #FFAB00;
}

/* Light Theme */
body.light-theme {
    --brand-primary: #651FFF;
    --brand-secondary: #00B8D4;
    --brand-accent: #D81B60;
    --bg-dark: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-element: #EEEEEE;
    --text-primary: #212121;
    --text-secondary: #616161;
    --text-tertiary: #9E9E9E;
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success: #00C853;
    --warning: #FFD600;
    --error: #D50000;
    --info: #0091EA;
    --neutral: #757575;
    
    /* Provider Colors - Adjusted for readability */
    --provider-hetzner: #D32F2F;
    --provider-contabo: #1565C0;
    --provider-proxmox: #F57C00;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--brand-secondary);
}

/* Header & Navigation */
.top-header {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    padding: 0.75rem 1.5rem;
    box-shadow: 0 2px 8px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.logo-shape {
    width: 100%;
    height: 100%;
    background-color: var(--brand-primary);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    color: white;
    font-weight: 700;
    font-size: 18px;
    z-index: 1;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.horizontal-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    margin-right: 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-item i {
    margin-right: 0.5rem;
}

.nav-item:hover {
    color: var(--text-primary);
    background-color: var(--bg-element);
}

.nav-item.active {
    color: var(--brand-primary);
    background-color: rgba(124, 77, 255, 0.1);
}

.header-controls {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 1rem;
}

.search-container input {
    background-color: var(--bg-element);
    border: 1px solid var(--border-color);
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    border-radius: 20px;
    color: var(--text-primary);
    width: 250px;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.search-container i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
}

.user-menu {
    display: flex;
    align-items: center;
    margin-left: 1rem;
    cursor: pointer;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.user-dropdown {
    display: flex;
    align-items: center;
}

.user-name {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 0.5rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
}

/* Layout Container */
.layout-container {
    display: flex;
    height: calc(100vh - 64px);
}

/* Side Panel */
.side-panel {
    width: 280px;
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
}

.context-nav {
    padding: 1.5rem;
}

.context-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin: 1.5rem 0 0.75rem;
}

.context-title:first-child {
    margin-top: 0;
}

.context-menu {
    margin-bottom: 1.5rem;
}

.context-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.context-item i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.context-item:hover {
    background-color: var(--bg-element);
    color: var(--text-primary);
}

.org-selector {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--bg-element);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.org-selector:hover {
    background-color: rgba(124, 77, 255, 0.1);
}

.org-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--brand-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 0.75rem;
}

.org-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.org-name {
    font-weight: 600;
}

.org-plan {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.team-list {
    margin-top: 0.75rem;
}

.team-member {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.member-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.member-name {
    flex: 1;
    color: var(--text-secondary);
}

.member-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.member-status.online {
    background-color: var(--success);
}

.member-status.away {
    background-color: var(--warning);
}

.member-status.offline {
    background-color: var(--neutral);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.page-title h1 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.breadcrumb {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.page-actions {
    display: flex;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--bg-element);
}

.btn-text {
    background: none;
    border: none;
    color: var(--brand-primary);
    padding: 0.5rem;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Dashboard Summary */
.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.25rem;
}

.summary-icon.servers {
    background-color: var(--brand-primary);
}

.summary-icon.cpu {
    background-color: var(--brand-secondary);
}

.summary-icon.storage {
    background-color: var(--provider-proxmox);
}

.summary-icon.cost {
    background-color: var(--brand-accent);
}

.summary-data {
    flex: 1;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.summary-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.summary-trend {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
}

.summary-trend i {
    margin-right: 0.25rem;
}

.summary-trend.up {
    color: var(--success);
}

.summary-trend.down {
    color: var(--error);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.grid-item {
    background-color: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.usage-chart {
    grid-row: 1 / 3;
}

.chart-header, .item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.chart-controls {
    display: flex;
    gap: 1rem;
}

.chart-period {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.period-btn {
    background-color: transparent;
    border: none;
    padding: 0.375rem 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.period-btn.active {
    background-color: var(--brand-primary);
    color: white;
}

.chart-container {
    padding: 1.5rem;
    height: 300px;
}

.chart-placeholder {
    height: 220px;
    position: relative;
    padding: 1rem 0;
}

.chart-line {
    height: 1px;
    background-color: var(--border-color);
    width: 100%;
    position: absolute;
}

.chart-line:nth-child(1) { top: 0; }
.chart-line:nth-child(2) { top: 33%; }
.chart-line:nth-child(3) { top: 66%; }
.chart-line:nth-child(4) { bottom: 0; }

.chart-bars {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: flex-end;
    padding: 0 1rem;
}

.chart-bar {
    width: 24px;
    background-color: var(--brand-primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.7;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 0.5rem;
}

.legend-color.cpu { background-color: var(--brand-primary); }
.legend-color.memory { background-color: var(--brand-secondary); }
.legend-color.storage { background-color: var(--provider-proxmox); }
.legend-color.network { background-color: var(--brand-accent); }

/* Server List */
.status-list {
    padding: 0.75rem;
}

.status-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.status-item:hover {
    background-color: var(--bg-element);
}

.server-info {
    display: flex;
    flex-direction: column;
}

.server-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.server-ip {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.server-metadata {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.provider-tag {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.provider-tag.hetzner {
    background-color: rgba(255, 82, 82, 0.15);
    color: var(--provider-hetzner);
}

.provider-tag.contabo {
    background-color: rgba(41, 121, 255, 0.15);
    color: var(--provider-contabo);
}

.provider-tag.proxmox {
    background-color: rgba(255, 171, 0, 0.15);
    color: var(--provider-proxmox);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge i {
    font-size: 0.625rem;
    margin-right: 0.25rem;
}

.status-badge.running {
    background-color: rgba(0, 200, 83, 0.15);
    color: var(--success);
}

.status-badge.warning {
    background-color: rgba(255, 214, 0, 0.15);
    color: var(--warning);
}

.status-badge.stopped {
    background-color: rgba(158, 158, 158, 0.15);
    color: var(--neutral);
}

.list-footer {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* Activity Log */
.activity-list {
    padding: 0.75rem;
}

.activity-item {
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.activity-item:hover {
    background-color: var(--bg-element);
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.activity-icon.create {
    background-color: rgba(0, 200, 83, 0.15);
    color: var(--success);
}

.activity-icon.restart {
    background-color: rgba(255, 214, 0, 0.15);
    color: var(--warning);
}

.activity-icon.stop {
    background-color: rgba(158, 158, 158, 0.15);
    color: var(--neutral);
}

.activity-icon.login {
    background-color: rgba(0, 176, 255, 0.15);
    color: var(--info);
}

.activity-details {
    flex: 1;
}

.activity-text {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.activity-user, .activity-resource {
    font-weight: 600;
}

.activity-time {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* Notifications */
.notification-list {
    padding: 1rem;
}

.notification {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
}

.notification:hover {
    filter: brightness(1.05);
}

.notification.error {
    background-color: rgba(255, 23, 68, 0.1);
}

.notification.warning {
    background-color: rgba(255, 214, 0, 0.1);
}

.notification.info {
    background-color: rgba(0, 176, 255, 0.1);
}

.notification.success {
    background-color: rgba(0, 200, 83, 0.1);
}

.notification-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.notification.error .notification-icon {
    color: var(--error);
}

.notification.warning .notification-icon {
    color: var(--warning);
}

.notification.info .notification-icon {
    color: var(--info);
}

.notification.success .notification-icon {
    color: var(--success);
}

.notification-content h4 {
    margin-bottom: 0.25rem;
}

.notification-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
}

.theme-toggle-label {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    margin-left: 0.5rem;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-element);
    transition: .4s;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.theme-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 2px;
    background-color: var(--brand-secondary);
    transition: .4s;
    border-radius: 50%;
}

.theme-toggle input:checked + .theme-toggle-slider:before {
    transform: translateX(24px);
    background-color: var(--brand-primary);
}

.theme-toggle-icon {
    color: var(--text-primary);
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .dashboard-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .usage-chart {
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .horizontal-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }
    
    .header-controls {
        display: none;
    }
    
    .top-header.mobile-menu-open .horizontal-nav,
    .top-header.mobile-menu-open .header-controls {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        box-shadow: 0 4px 8px var(--shadow-color);
        padding: 1rem;
        z-index: 100;
    }
    
    .top-header.mobile-menu-open .horizontal-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .top-header.mobile-menu-open .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .layout-container {
        flex-direction: column;
    }
    
    .side-panel {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .side-panel.expanded {
        max-height: 500px;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.modal.active {
    display: block;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: var(--card-bg);
    z-index: 10;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    position: sticky;
    bottom: 0;
    background-color: var(--card-bg);
    z-index: 10;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s;
}

.close-modal:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.875rem;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.2s;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
}

.provider-select,
.location-select {
    position: relative;
}

.provider-select .provider-icon,
.location-select .location-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.provider-select select,
.location-select select {
    padding-right: 40px;
}

.provider-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.provider-icon.hetzner {
    background-color: #d50c2d;
}

.provider-icon.contabo {
    background-color: #0098dd;
}

.provider-icon.proxmox {
    background-color: #e57000;
}

.location-icon {
    color: var(--primary-color);
}

/* Pricing Plans */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.pricing-plan {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.pricing-plan:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-plan.selected {
    border-color: var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.1);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.plan-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.plan-price {
    font-weight: 600;
    font-size: 0.875rem;
}

.plan-details {
    font-size: 12px;
    color: var(--text-secondary);
}

.plan-details div {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.plan-details i {
    margin-right: 5px;
    width: 14px;
}

/* OS Options */
.os-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.os-option {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.os-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.os-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.os-option input[type="radio"]:checked + .os-icon {
    color: var(--primary-color);
}

.os-option input[type="radio"]:checked ~ .os-info .os-name {
    color: var(--primary-color);
}

.os-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.os-name {
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.os-version {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Pricing Summary */
.pricing-summary {
    background-color: rgba(var(--bg-card-rgb), 0.5);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.summary-total {
    font-weight: 600;
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
    padding-top: 8px;
    margin-top: 8px;
}

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(var(--bg-card-rgb), 0.5);
}

.modal-actions {
    display: flex;
    gap: 10px;
}

/* Responsive Styling */
@media (max-width: 640px) {
    .os-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Actions right styling */
.actions-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.search-container {
    position: relative;
}

.search-input {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 8px 12px;
    padding-right: 36px;
    color: var(--text-color);
    font-size: 14px;
    width: 200px;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.notifications {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-card);
    cursor: pointer;
}

.notifications i {
    color: var(--text-color);
    font-size: 16px;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.user-profile img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: none;
}

.user-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-color);
}

.user-role {
    font-size: 12px;
    color: var(--text-secondary);
}

@media (min-width: 992px) {
    .user-info {
        display: block;
    }
}
