/* ============================================
   LAKESIDE DTF DESIGNER - FINAL REDESIGN
   Modern, Clean, Professional
   ============================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* === DESIGNER WRAPPER === */
.dtf-designer-wrap {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    overflow: hidden;
}

/* === TOP BAR === */
.dtf-top-bar {
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #e1e4e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.dtf-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dtf-logo-icon {
    font-size: 28px;
}

.dtf-logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #24292e;
}

.dtf-top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dtf-price-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 16px;
    background: #f6f8fa;
    border-radius: 6px;
}

.dtf-price-label {
    font-size: 13px;
    color: #586069;
    font-weight: 500;
}

.dtf-price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #24292e;
}

.dtf-btn-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #2ea44f;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.dtf-btn-cart:hover:not(:disabled) {
    background: #2c974b;
}

.dtf-btn-cart:disabled {
    background: #94d3a2;
    cursor: not-allowed;
}

.dtf-cart-icon {
    font-size: 18px;
}

/* === MAIN DESIGNER === */
.dtf-designer-main {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    height: calc(100vh - 64px);
    overflow: hidden;
}

/* === SIDEBARS === */
.dtf-sidebar {
    background: #fff;
    overflow-y: auto;
}

.dtf-sidebar-left {
    border-right: 1px solid #e1e4e8;
}

.dtf-sidebar-right {
    border-left: 1px solid #e1e4e8;
}

.dtf-sidebar::-webkit-scrollbar {
    width: 6px;
}

.dtf-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.dtf-sidebar::-webkit-scrollbar-thumb {
    background: #d1d5da;
    border-radius: 3px;
}

.dtf-sidebar-section {
    padding: 20px;
    border-bottom: 1px solid #e1e4e8;
}

.dtf-section-header {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #586069;
    margin-bottom: 16px;
}

/* === FORM ELEMENTS === */
.dtf-select {
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    font-size: 14px;
    color: #24292e;
    cursor: pointer;
    transition: border-color 0.2s;
}

.dtf-select:focus {
    outline: none;
    border-color: #0969da;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
}

/* === COLOR PALETTE === */
.dtf-color-palette {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.dtf-color-swatch {
    aspect-ratio: 1;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.dtf-color-swatch:hover {
    transform: scale(1.1);
    border-color: #d1d5da;
}

.dtf-color-swatch.active {
    transform: scale(1.12);
    border-color: #0969da;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.15);
}

.dtf-color-swatch::after {
    content: attr(data-name);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #586069;
    white-space: nowrap;
    font-weight: 500;
}

/* === TOOL BUTTONS === */
.dtf-tool-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f6f8fa;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #24292e;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
}

.dtf-tool-btn:hover {
    background: #fff;
    border-color: #0969da;
}

.dtf-tool-icon {
    font-size: 20px;
}

/* === CONTROL GROUPS === */
.dtf-control-group {
    margin-bottom: 20px;
}

.dtf-control-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #24292e;
    margin-bottom: 8px;
}

.dtf-control-label span:last-child {
    color: #0969da;
    font-weight: 600;
}

.dtf-slider {
    width: 100%;
    height: 6px;
    background: #e1e4e8;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.dtf-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #0969da;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.dtf-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #0969da;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.dtf-color-input {
    width: 100%;
    height: 44px;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    cursor: pointer;
}

.dtf-btn-delete {
    width: 100%;
    padding: 10px;
    background: #fff;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    color: #cf222e;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.dtf-btn-delete:hover:not(:disabled) {
    background: #ffebe9;
    border-color: #cf222e;
}

.dtf-btn-delete:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === CANVAS AREA === */
.dtf-canvas-area {
    display: flex;
    flex-direction: column;
    background: #f6f8fa;
}

.dtf-canvas-toolbar {
    height: 48px;
    background: #fff;
    border-bottom: 1px solid #e1e4e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.dtf-view-switcher {
    display: flex;
    gap: 4px;
    background: #f6f8fa;
    padding: 4px;
    border-radius: 6px;
}

.dtf-view-tab {
    padding: 6px 20px;
    background: transparent;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #586069;
    cursor: pointer;
    transition: all 0.2s;
}

.dtf-view-tab:hover {
    color: #24292e;
    background: rgba(9, 105, 218, 0.05);
}

.dtf-view-tab.active {
    color: #fff;
    background: #0969da;
}

.dtf-canvas-info {
    font-size: 12px;
    color: #586069;
    font-weight: 500;
}

.dtf-separator {
    margin: 0 8px;
    color: #d1d5da;
}

.dtf-canvas-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: auto;
}

#dtf-designCanvas {
    box-shadow: 0 8px 24px rgba(140, 149, 159, 0.2);
    border-radius: 4px;
    cursor: crosshair;
    background: #fff;
}

/* === SIZES GRID === */
.dtf-sizes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.dtf-size-box {
    border: 2px solid #e1e4e8;
    border-radius: 6px;
    padding: 12px;
    background: #fff;
    transition: all 0.2s;
}

.dtf-size-box.has-qty {
    border-color: #0969da;
    background: #f0f6ff;
}

.dtf-size-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #586069;
    margin-bottom: 6px;
    text-align: center;
}

.dtf-size-box.has-qty .dtf-size-label {
    color: #0969da;
}

.dtf-size-input {
    width: 100%;
    padding: 8px;
    background: #f6f8fa;
    border: 1px solid #d1d5da;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #24292e;
}

.dtf-size-input:focus {
    outline: none;
    border-color: #0969da;
    background: #fff;
}

/* === ORDER SUMMARY === */
.dtf-order-summary {
    padding: 16px;
    background: #f6f8fa;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    margin-top: 16px;
}

.dtf-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #24292e;
}

.dtf-summary-divider {
    height: 1px;
    background: #d1d5da;
    margin: 8px 0;
}

.dtf-summary-total {
    font-size: 16px;
    font-weight: 700;
    color: #0969da;
}

.dtf-size-breakdown {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #d1d5da;
}

.dtf-breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
    color: #586069;
}

/* === CART/CHECKOUT PAGES === */
.dtf-cart-wrap,
.dtf-checkout-wrap,
.dtf-confirmation-wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.dtf-cart-wrap h1,
.dtf-checkout-wrap h1,
.dtf-confirmation-wrap h1 {
    font-size: 32px;
    font-weight: 700;
    color: #24292e;
    margin-bottom: 32px;
}

.dtf-cart-item {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    margin-bottom: 16px;
}

.dtf-cart-item-image img {
    width: 100%;
    border: 1px solid #d1d5da;
    border-radius: 4px;
}

.dtf-cart-item-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #24292e;
    margin-bottom: 12px;
}

.dtf-cart-item-details p {
    margin: 6px 0;
    color: #586069;
    font-size: 14px;
}

.dtf-cart-item-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.dtf-size-badge {
    padding: 4px 10px;
    background: #0969da;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.dtf-cart-item-price {
    text-align: right;
}

.dtf-price {
    font-size: 24px;
    font-weight: 700;
    color: #24292e;
    margin-bottom: 12px;
}

.dtf-btn {
    padding: 10px 20px;
    background: #f6f8fa;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #24292e;
    cursor: pointer;
    transition: all 0.2s;
}

.dtf-btn:hover {
    background: #fff;
    border-color: #0969da;
}

.dtf-btn-danger {
    color: #cf222e;
}

.dtf-btn-danger:hover {
    background: #ffebe9;
    border-color: #cf222e;
}

.dtf-cart-total {
    background: #0969da;
    color: #fff;
    padding: 32px;
    text-align: center;
    border-radius: 6px;

/* ============================================
   LAKESIDE PRINT LAB - AUTHENTIC DESIGN
   Real brand colors, practical layout
   ============================================ */

/* Reset & Base */
* {
    box-sizing: border-box;
}

/* Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
}

/* ============================================
   ACCOUNT PAGES - AUTHENTIC DESIGN
   ============================================ */

.dtf-account-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header - Simple and Professional */
.dtf-account-header {
    background: #2c3e50;
    color: #fff;
    padding: 24px 28px;
    margin-bottom: 30px;
    border-left: 5px solid #e74c3c;
}

.dtf-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.dtf-user-avatar {
    width: 60px;
    height: 60px;
    background: #34495e;
    border: 3px solid #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.dtf-header-info h1 {
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #fff;
}

.dtf-company-badge {
    background: #34495e;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.dtf-account-type {
    color: #95a5a6;
    margin: 0;
    font-size: 14px;
}

.dtf-header-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Buttons - Practical Design */
.dtf-btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.dtf-btn-primary {
    background: #e74c3c;
    color: #fff;
}

.dtf-btn-primary:hover {
    background: #c0392b;
}

.dtf-btn-success {
    background: #27ae60;
    color: #fff;
}

.dtf-btn-success:hover {
    background: #229954;
}

.dtf-btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.dtf-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.dtf-btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.dtf-btn-icon {
    margin-right: 5px;
}

/* Tab Navigation - Clean Tabs */
.dtf-account-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #ecf0f1;
    margin-bottom: 30px;
    border-bottom: 3px solid #bdc3c7;
}

.dtf-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: all 0.2s;
}

.dtf-tab-btn:hover {
    color: #2c3e50;
    background: #dfe6e9;
}

.dtf-tab-btn.active {
    color: #2c3e50;
    background: #fff;
    border-bottom-color: #e74c3c;
}

.dtf-tab-badge {
    background: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
}

.dtf-tab-content {
    display: none;
}

.dtf-tab-content.active {
    display: block;
}

/* Stats Cards - Real Dashboard Look */
.dtf-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dtf-stat-card {
    background: #fff;
    border: 2px solid #ecf0f1;
    border-left: 5px solid #3498db;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: box-shadow 0.2s;
}

.dtf-stat-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dtf-stat-icon {
    font-size: 32px;
}

.dtf-stat-content {
    flex: 1;
}

.dtf-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 4px;
}

.dtf-stat-label {
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
}

.dtf-stat-trend {
    font-size: 12px;
    font-weight: 600;
}

.dtf-trend-up {
    color: #27ae60;
}

.dtf-trend-neutral {
    color: #7f8c8d;
}

/* Sections */
.dtf-section {
    margin-bottom: 35px;
}

.dtf-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.dtf-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.dtf-section-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

/* Action Cards */
.dtf-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.dtf-action-card {
    background: #fff;
    border: 2px solid #ecf0f1;
    padding: 22px;
    text-align: center;
    text-decoration: none;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s;
}

.dtf-action-card:hover {
    border-color: #e74c3c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dtf-action-primary {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.dtf-action-primary:hover {
    background: #c0392b;
}

.dtf-action-primary h3,
.dtf-action-primary p {
    color: #fff;
}

.dtf-action-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.dtf-action-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 6px 0;
}

.dtf-action-card p {
    font-size: 13px;
    color: #7f8c8d;
    margin: 0;
}

/* Activity Feed */
.dtf-activity-feed {
    background: #fff;
    border: 2px solid #ecf0f1;
}

.dtf-activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #ecf0f1;
}

.dtf-activity-item:last-child {
    border-bottom: none;
}

.dtf-activity-item:hover {
    background: #f8f9fa;
}

.dtf-activity-icon {
    font-size: 22px;
}

.dtf-activity-content {
    flex: 1;
}

.dtf-activity-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.dtf-activity-meta {
    font-size: 12px;
    color: #7f8c8d;
}

.dtf-activity-status {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Orders */
.dtf-orders-container {
    display: grid;
    gap: 16px;
}

.dtf-order-card {
    background: #fff;
    border: 2px solid #ecf0f1;
    padding: 20px;
}

.dtf-order-card:hover {
    border-color: #bdc3c7;
}

.dtf-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ecf0f1;
}

.dtf-order-number {
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
}

.dtf-order-status {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.dtf-status-pending {
    background: #fff3cd;
    color: #856404;
}

.dtf-status-processing {
    background: #cce5ff;
    color: #004085;
}

.dtf-status-shipped {
    background: #d1ecf1;
    color: #0c5460;
}

.dtf-status-complete {
    background: #d4edda;
    color: #155724;
}

.dtf-order-details {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.dtf-order-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.dtf-order-label {
    color: #7f8c8d;
    font-weight: 600;
}

.dtf-order-total {
    font-weight: 700;
    color: #2c3e50;
}

.dtf-order-actions {
    display: flex;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #ecf0f1;
}

/* Empty States */
.dtf-empty-state {
    text-align: center;
    padding: 50px 20px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
}

.dtf-empty-icon {
    font-size: 56px;
    margin-bottom: 14px;
    opacity: 0.5;
}

.dtf-empty-state h3 {
    font-size: 19px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.dtf-empty-state p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

/* Loading */
.dtf-loading-state {
    text-align: center;
    padding: 50px 20px;
}

.dtf-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ecf0f1;
    border-top-color: #e74c3c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Forms */
.dtf-form-group {
    margin-bottom: 18px;
}

.dtf-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}

.dtf-form-input,
.dtf-form-select,
.dtf-form-textarea {
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 2px solid #dee2e6;
    font-size: 14px;
    color: #2c3e50;
}

.dtf-form-input:focus,
.dtf-form-select:focus,
.dtf-form-textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.dtf-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

/* Settings */
.dtf-settings-grid {
    display: grid;
    gap: 28px;
}

.dtf-settings-section {
    background: #fff;
    border: 2px solid #ecf0f1;
    padding: 28px;
}

.dtf-settings-section h2 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 22px;
    color: #2c3e50;
}

/* Notifications */
.dtf-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border: 2px solid;
    border-left: 5px solid;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    min-width: 300px;
    transform: translateX(400px);
    transition: transform 0.3s;
}

.dtf-notification.dtf-notification-show {
    transform: translateX(0);
}

.dtf-notification-success {
    border-color: #27ae60;
}

.dtf-notification-error {
    border-color: #e74c3c;
}

.dtf-notification-message {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

/* Modal */
.dtf-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
}

.dtf-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.dtf-modal-content {
    position: relative;
    background: #fff;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 5vh auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s;
}

.dtf-modal-content.dtf-modal-show {
    transform: translateY(0);
    opacity: 1;
}

.dtf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 2px solid #ecf0f1;
    background: #f8f9fa;
}

.dtf-modal-header h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0;
}

.dtf-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
}

.dtf-modal-close:hover {
    color: #2c3e50;
}

.dtf-modal form {
    padding: 24px;
}

.dtf-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 18px;
    border-top: 2px solid #ecf0f1;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .dtf-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .dtf-header-left {
        flex-direction: column;
    }
    
    .dtf-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LOGIN & REGISTRATION - SIMPLE DESIGN
   ============================================ */

.dtf-login-container {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
}

.dtf-login-box,
.dtf-signup-box {
    background: #fff;
    border: 2px solid #ecf0f1;
    padding: 30px;
}

.dtf-login-box h2,
.dtf-signup-box h2 {
    font-size: 23px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.dtf-signup-text {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 14px;
}

.dtf-signup-buttons {
    display: grid;
    gap: 14px;
}

.dtf-signup-card {
    display: block;
    background: #fff;
    border: 2px solid #dee2e6;
    padding: 20px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.2s;
}

.dtf-signup-card:hover {
    border-color: #e74c3c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dtf-signup-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.dtf-signup-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.dtf-signup-card p {
    color: #7f8c8d;
    font-size: 13px;
    margin-bottom: 14px;
}

.dtf-register-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
}

.dtf-register-box {
    background: #fff;
    border: 2px solid #ecf0f1;
    border-left: 5px solid #e74c3c;
    padding: 35px;
}

.dtf-register-box h1 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.dtf-subtitle {
    color: #7f8c8d;
    font-size: 15px;
    margin-bottom: 28px;
}

.dtf-section-title {
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    margin: 28px 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #ecf0f1;
}

.dtf-alert {
    padding: 14px 18px;
    margin-bottom: 20px;
    border: 2px solid;
    border-left: 5px solid;
}

.dtf-alert-info {
    background: #e7f3ff;
    border-color: #3498db;
    color: #2c3e50;
}

.dtf-alert-warning {
    background: #fff3cd;
    border-color: #f39c12;
    color: #856404;
}

.dtf-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dtf-form-link {
    text-align: center;
    margin-top: 14px;
}

.dtf-form-link a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.dtf-form-link a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .dtf-login-container {
        grid-template-columns: 1fr;
    }
}
