/* Gulnaz Beauty & Wedding Dress Management - Premium CSS Theme */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --gold: #D4AF37;
    --gold-dark: #AA8B2C;
    --gold-light: #F4E8C1;
    --black: #111111;
    --dark-charcoal: #1E1E1E;
    --gray-dark: #333333;
    --gray-mid: #777777;
    --gray-light: #F5F5F5;
    --white: #FFFFFF;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

/* Base resets & typography */
body.premium-theme {
    font-family: var(--font-sans);
    background-color: var(--gray-light);
    color: var(--black);
}

.font-serif {
    font-family: var(--font-serif);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--black);
    font-weight: 600;
}

/* Premium Buttons */
.btn-gold {
    background-color: var(--gold);
    color: var(--black) !important;
    font-family: var(--font-sans);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gold);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-gold:hover {
    background-color: var(--black);
    color: var(--gold) !important;
    border-color: var(--black);
    box-shadow: var(--shadow-md);
}

.btn-black {
    background-color: var(--black);
    color: var(--gold) !important;
    font-family: var(--font-sans);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--black);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-black:hover {
    background-color: var(--gold);
    color: var(--black) !important;
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--gold) !important;
    font-family: var(--font-sans);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    border: 2px solid var(--gold);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--black) !important;
    box-shadow: var(--shadow-md);
}

/* Cards & Layout panels */
.premium-card {
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.premium-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.35);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
}

.card-black {
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--gold);
}
.card-black h1, .card-black h2, .card-black h3, .card-black p {
    color: var(--white);
}

/* Badges for Dress Statuses */
.status-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-musait { background-color: #d1fae5; color: #065f46; }
.status-rezerve { background-color: #fef3c7; color: #92400e; }
.status-kirada { background-color: #dbeafe; color: #1e40af; }
.status-teslim { background-color: #e0e7ff; color: #3730a3; }
.status-iade { background-color: #f3e8ff; color: #6b21a8; }
.status-temizlik { background-color: #ecfdf5; color: #047857; }
.status-tamir { background-color: #fff1f2; color: #9f1239; }
.status-hasarli { background-color: #fee2e2; color: #991b1b; }
.status-satildi { background-color: #f3f4f6; color: #374151; }

/* Signature Pad container */
.signature-container {
    border: 2px dashed var(--gold);
    border-radius: var(--border-radius);
    background-color: #FCFCFC;
    position: relative;
    margin-bottom: 15px;
}
.signature-canvas {
    width: 100%;
    height: 200px;
    display: block;
    cursor: crosshair;
}

/* Beautiful Custom Table styles */
.premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
}

.premium-table th {
    background-color: var(--black);
    color: var(--gold);
    font-family: var(--font-sans);
    font-weight: 600;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid var(--gold);
}

.premium-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: var(--white);
    color: var(--gray-dark);
}

.premium-table tr:hover td {
    background-color: rgba(214, 175, 55, 0.05);
}

/* Grid & Layout systems */
.premium-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Public Welcome layout styles */
.hero-slider {
    background-color: var(--black);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--gold);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Catalog Filter styles */
.filter-sidebar {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.product-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

/* Timeline component */
.timeline {
    position: relative;
    padding-left: 30px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
    background-color: var(--gold-light);
}
.timeline-item {
    position: relative;
    margin-bottom: 20px;
}
.timeline-dot {
    position: absolute;
    left: -26px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gold);
    border: 2px solid var(--white);
}

/* Calendar wrapper styling */
.calendar-wrapper {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212, 175, 55, 0.15);
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.calendar-header-day {
    text-align: center;
    font-weight: 600;
    padding: 10px;
    background-color: var(--black);
    color: var(--gold);
    border-radius: 4px;
}
.calendar-day {
    height: 100px;
    border: 1px solid #EAEAEA;
    border-radius: 4px;
    padding: 6px;
    position: relative;
    background-color: var(--white);
}
.calendar-day.today {
    border-color: var(--gold);
    background-color: rgba(214, 175, 55, 0.05);
}
.calendar-day.other-month {
    background-color: var(--gray-light);
    color: var(--gray-mid);
}
.calendar-event {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}
