/* ============================================
   COMMON STYLES - Blue & Black Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #01b0f0;
    --primary-blue-dark: #0099d6;
    --primary-blue-light: #e6f7fd;
    --secondary-black: #2c3e50;
    --dark-gray: #2c3e50;
    --medium-gray: #6c757d;
    --light-gray: #e8eef3;
    --very-light-gray: #f5f8fa;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #01b0f0;
    --purple: #8b5cf6;
    --teal: #14b8a6;
    --indigo: #6366f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f8fa;
    min-height: 100vh;
    color: var(--secondary-black);
}

/* Header Styles */
.header {
    background: white;
    color: var(--dark-gray);
    padding: 16px 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    position: relative;
    z-index: 10;
    border-bottom: 1px solid #e8eef3;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    height: 36px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.header-logo:hover {
    opacity: 0.8;
}

/* Breadcrumb Styles */
.breadcrumb-container {
    background: white;
    padding: 12px 32px;
    border-bottom: 1px solid #e8eef3;
    position: relative;
    z-index: 5;
}

.breadcrumb-content {
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #6c757d;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s;
}

.breadcrumb a:hover {
    color: #01b0f0;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #95a5a6;
}

.breadcrumb-current {
    color: #2c3e50;
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
    background: #f5f8fa;
    color: #2c3e50;
}

.header-btn:hover {
    background: #e8eef3;
}

.user-name {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.user-name:hover {
    color: #01b0f0;
}

.header-actions .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.header-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.header-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.01em;
}

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

.btn-primary:hover {
    background: var(--primary-blue-dark);
    box-shadow: 0 4px 12px rgba(1, 176, 240, 0.2);
}

.btn-secondary {
    background: var(--very-light-gray);
    color: var(--secondary-black);
    border: 1px solid var(--light-gray);
}

.btn-secondary:hover {
    background: var(--light-gray);
}

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

.btn-success:hover {
    background: #059669;
}

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

.btn-danger:hover {
    background: #dc2626;
}

.btn:disabled {
    background: var(--light-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e8eef3;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 28px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid var(--light-gray);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--light-gray);
}

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

.close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.close:hover {
    background: var(--very-light-gray);
    color: var(--dark-gray);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e8eef3;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s;
    background: #f5f8fa;
    color: #2c3e50;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #01b0f0;
    background: white;
    box-shadow: 0 0 0 3px #e6f7fd;
}

.form-group input::placeholder {
    color: #95a5a6;
}

/* Loading */
.loading {
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-blue);
}

.text-secondary {
    color: var(--secondary-black);
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

