/* Universal Modern Dark Theme for DSLR.gr Templates */

/* Base Styles */
body {
    background: #0f172a;
    color: #e2e8f0;
}

/* Avatar Placeholder - Universal Styles */
.avatar-placeholder {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder-icon {
    color: rgba(20, 184, 166, 0.3);
}

/* Container Styles */
.modern-wrapper {
    background: #0f172a;
    min-height: 100vh;
    padding: 20px 0 60px;
}

.modern-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Breadcrumb */
.modern-breadcrumb {
    background: transparent;
    border: none;
    padding: 12px 0;
    margin-bottom: 24px;
    border-radius: 0;
}

.modern-breadcrumb li {
    color: #94a3b8;
    font-size: 14px;
}

.modern-breadcrumb li a {
    color: #14b8a6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.modern-breadcrumb li a:hover {
    color: #06b6d4;
}

.modern-breadcrumb > li + li:before {
    color: #475569;
}

.modern-breadcrumb .active {
    color: #cbd5e1;
}

/* Cards */
.modern-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #334155;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-bottom: 24px;
}

.modern-card-header {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
    margin: -24px -24px 24px -24px;
    font-size: 18px;
    font-weight: 400;
}

.modern-card-title {
    font-size: 20px;
    font-weight: 400;
    color: #f1f5f9;
    margin-bottom: 16px;
}

.modern-card-body {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

/* Buttons */
.modern-btn {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.modern-btn:hover,
.modern-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
    color: white;
    text-decoration: none;
}

.modern-btn-secondary {
    background: #334155;
    color: #e2e8f0;
}

.modern-btn-secondary:hover {
    background: #475569;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.modern-btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.modern-btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

/* Forms */
.modern-form-group {
    margin-bottom: 20px;
}

.modern-form-label {
    display: block;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

.modern-form-control {
    width: 100%;
    padding: 12px;
    background: #0f172a;
    border: 1px solid #475569;
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 14px;
    transition: all 0.2s ease;
}

.modern-form-control:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.modern-form-control::placeholder {
    color: #64748b;
}

textarea.modern-form-control {
    resize: vertical;
    min-height: 100px;
}

select.modern-form-control {
    cursor: pointer;
}

/* Tables */
.modern-table {
    width: 100%;
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #334155;
}

.modern-table thead {
    background: #334155;
}

.modern-table th {
    padding: 12px 16px;
    color: #cbd5e1;
    font-weight: 400;
    font-size: 13px;
    text-align: left;
    border-bottom: 1px solid #475569;
}

.modern-table td {
    padding: 12px 16px;
    color: #e2e8f0;
    font-size: 14px;
    border-bottom: 1px solid #334155;
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

.modern-table tbody tr:hover {
    background: rgba(20, 184, 166, 0.05);
}

/* Lists */
.modern-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-list-item {
    background: #334155;
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid #475569;
    transition: all 0.2s ease;
}

.modern-list-item:hover {
    background: #475569;
    border-color: #14b8a6;
}

.modern-list-item a {
    color: #e2e8f0;
    text-decoration: none;
}

.modern-list-item a:hover {
    color: #14b8a6;
}

/* Alerts */
.modern-alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.modern-alert-info {
    background: rgba(6, 182, 212, 0.1);
    border-left-color: #06b6d4;
    color: #67e8f9;
}

.modern-alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
    color: #4ade80;
}

.modern-alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
    color: #fbbf24;
}

.modern-alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
    color: #fca5a5;
}

/* Badges */
.modern-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 400;
}

.modern-badge-primary {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
}

.modern-badge-success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.modern-badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.modern-badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.modern-badge-secondary {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

/* Panels/Sections */
.modern-section {
    background: #1e293b;
    padding: 40px 20px;
    margin-bottom: 0;
}

.modern-section-title {
    font-size: 24px;
    font-weight: 400;
    color: #f1f5f9;
    margin-bottom: 24px;
    text-align: center;
}

.modern-section-subtitle {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 32px;
    text-align: center;
}

/* Grid */
.modern-grid {
    display: grid;
    gap: 20px;
}

.modern-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.modern-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.modern-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Links */
a.modern-link {
    color: #14b8a6;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.modern-link:hover {
    color: #06b6d4;
    text-decoration: underline;
}

/* Pagination */
.modern-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.modern-pagination-item {
    padding: 8px 12px;
    background: #334155;
    color: #cbd5e1;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #475569;
}

.modern-pagination-item:hover {
    background: #475569;
    color: #14b8a6;
    border-color: #14b8a6;
    text-decoration: none;
}

.modern-pagination-item.active {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    border-color: transparent;
}

/* Modals Override */
.modal-content {
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
}

.modal-header {
    border-bottom: 1px solid #334155;
}

.modal-footer {
    border-top: 1px solid #334155;
}

.modal-title {
    color: #f1f5f9;
}

/* Empty State */
.modern-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.modern-empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.modern-empty-state-title {
    font-size: 20px;
    font-weight: 400;
    color: #94a3b8;
    margin-bottom: 8px;
}

.modern-empty-state-description {
    font-size: 14px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 992px) {
    .modern-grid-3,
    .modern-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-wrapper {
        padding: 16px 0 40px;
    }

    .modern-card {
        padding: 20px;
        border-radius: 8px;
    }

    .modern-card-header {
        padding: 14px 16px;
        margin: -20px -20px 20px -20px;
        font-size: 16px;
    }

    .modern-section {
        padding: 32px 16px;
    }

    .modern-section-title {
        font-size: 20px;
    }

    .modern-grid-2,
    .modern-grid-3,
    .modern-grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .modern-card {
        padding: 16px;
    }

    .modern-btn {
        width: 100%;
        text-align: center;
    }

    .modern-pagination {
        flex-wrap: wrap;
    }
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.p-0 { padding: 0; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }

