/* Modern Cosmetic Company Theme */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-color: #D4A373; /* Soft Bronze */
    --primary-dark: #9C6644;
    --secondary-color: #FAFAFA; /* Off-white */
    --accent-color: #E6B8B8; /* Dusty Rose */
    --text-main: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --radius-lg: 16px;
    --radius-md: 8px;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-main);
    background-color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Override Gradient Background */
.gradient-bg {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFE4E1 100%);
    color: var(--text-main) !important;
    border-bottom: 1px solid rgba(212, 163, 115, 0.2);
}

.gradient-bg h1, .gradient-bg p {
    color: var(--text-main);
}

/* Card Styling */
.cosmetic-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cosmetic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Button Styling */
.btn-cosmetic {
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px; /* Pill shape */
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.btn-cosmetic:hover {
    background-color: var(--primary-dark);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.4);
}

.btn-cosmetic-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-cosmetic-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Input Styling */
input[type="text"], 
input[type="number"], 
select, 
textarea {
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

input:focus, 
select:focus, 
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.1);
}

/* Header Enhancements */
.header-icon {
    color: var(--primary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #D4A373;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9C6644;
}

/* Table Styling */
.table-cosmetic thead {
    background-color: #FFF0F0;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
}

.table-cosmetic th {
    font-weight: 600;
    padding: 1rem;
}

.table-cosmetic td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.table-cosmetic tr:last-child td {
    border-bottom: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Badge Styling */
.badge-cosmetic {
    background-color: #FFF0F0;
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
