/* public/assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --zk-blue-primary: #1890ff;
    --zk-blue-hover: #40a9ff;
    --zk-blue-dark: #002766;
    --zk-orange: #ff6600;
    --zk-text-color: #333333;
    --zk-text-secondary: #666666;
    --zk-bg-light: #f4f6f9;
    --zk-border-color: #e8e8e8;
    --zk-sidebar-width: 240px;
}

body {
    background-color: var(--zk-bg-light);
    font-family: 'Segoe UI', 'Outfit', sans-serif;
    color: var(--zk-text-color);
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

/* Header styling */
.zk-header {
    background: #ffffff;
    height: 50px;
    border-bottom: 2px solid #0050b3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.zk-logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.zk-logo-zk {
    color: #0050b3;
    font-weight: 700;
    font-size: 1.25rem;
}

.zk-logo-time {
    color: #1890ff;
    font-weight: 500;
    font-size: 1.25rem;
}

.zk-logo-cloud {
    color: var(--zk-orange);
    font-weight: 400;
    font-size: 1.25rem;
    margin-left: 3px;
}

/* Top Navigation */
.zk-top-nav {
    display: flex;
    height: 100%;
    margin-left: 2rem;
}

.zk-top-nav-item {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: var(--zk-text-secondary);
    text-decoration: none;
    font-weight: 500;
    height: 100%;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.zk-top-nav-item:hover, .zk-top-nav-item.active {
    color: var(--zk-blue-primary);
    border-bottom-color: var(--zk-blue-primary);
}

/* Main Container Layout */
.zk-main-layout {
    display: flex;
    min-height: calc(100vh - 50px);
}

/* Sidebar styling */
.zk-sidebar {
    width: var(--zk-sidebar-width);
    background: #ffffff;
    border-right: 1px solid var(--zk-border-color);
    padding-top: 1rem;
    flex-shrink: 0;
}

.zk-menu-group-title {
    font-size: 0.75rem;
    color: var(--zk-text-secondary);
    padding: 0.5rem 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zk-menu-item {
    display: flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    color: var(--zk-text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.zk-menu-item i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
    color: var(--zk-text-secondary);
}

.zk-menu-item:hover, .zk-menu-item.active {
    background-color: #e6f7ff;
    color: var(--zk-blue-primary);
}

.zk-menu-item:hover i, .zk-menu-item.active i {
    color: var(--zk-blue-primary);
}

/* Content Area */
.zk-content {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-x: hidden;
}

/* Cards & Content Panels */
.zk-panel {
    background: #ffffff;
    border: 1px solid var(--zk-border-color);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.zk-panel-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--zk-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Form inputs matching screenshot style */
.zk-form-label {
    font-size: 0.8rem;
    color: var(--zk-text-secondary);
    margin-bottom: 0.25rem;
    display: block;
}

.zk-input {
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

.zk-input:focus {
    border-color: #40a9ff;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
}

/* Table styling */
.zk-table {
    width: 100%;
    border-collapse: collapse;
}

.zk-table th {
    background: #fafafa;
    border-bottom: 1px solid var(--zk-border-color);
    padding: 0.75rem 1rem;
    font-weight: 600;
    text-align: left;
    font-size: 0.8rem;
    color: var(--zk-text-secondary);
}

.zk-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--zk-border-color);
    font-size: 0.85rem;
}

.zk-table tr:hover {
    background-color: #fafafa;
}

/* Primary actions button */
.btn-zk-save {
    background: #0050b3;
    color: #ffffff;
    border: none;
    padding: 0.35rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-zk-save:hover {
    background: #096dd9;
}

/* Login Page specific styling */
.zk-login-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #002766 0%, #0050b3 100%);
}

.zk-login-card {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    width: 400px;
    padding: 2.5rem;
}

.zk-login-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #002766;
}
