﻿:root {
    --background-color: #fff0f5; /* Light lipstick: lavender blush */
    --text-color: #b22234; /* Lipstick red */
    --navbar-bg: #fff0f5;
    --navbar-text: #b22234;
}

[data-theme="dark-lipstick"] {
    --background-color: #2d0018; /* Deep lipstick: dark burgundy */
    --text-color: #ffb6c1; /* Light pink */
    --navbar-bg: #2d0018;
    --navbar-text: #ffb6c1;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background 0.2s, color 0.2s;
}

.navbar {
    background-color: var(--navbar-bg) !important;
    border-bottom: 2px solid #2d0018;
}

[data-theme="dark-lipstick"] .navbar {
    border-bottom: 2px solid #2d0018;
}

.lipstick-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    vertical-align: middle;
}

    .lipstick-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: 34px;
    transition: background 0.3s;
    /* Track */
}

    .slider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 8px;
        width: 44px;
        height: 6px;
        background: #e0e0e0;
        border-radius: 3px;
        transform: translateY(-50%);
        z-index: 0;
    }

.lipstick {
    position: absolute;
    left: 6px;
    top: 4px;
    width: 16px;
    height: 26px;
    z-index: 2;
    transition: left 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: none;
}

/* Move lipstick to the right when checked */
.lipstick-switch input:checked + .slider .lipstick {
    left: 38px;
}

/* Lipstick tip (top) */
.lipstick-tip {
    width: 12px;
    height: 10px;
    background: linear-gradient(135deg, #ff4b81 60%, #b22234 100%);
    border-radius: 8px 8px 12px 12px / 12px 12px 8px 8px;
    margin-bottom: 0;
    margin-top: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.10);
    border-bottom: 2px solid #fff0f5;
    z-index: 3;
}

/* Gold band */
.lipstick-band {
    width: 12px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700 40%, #fffbe0 60%);
    border-radius: 2px;
    margin: 0;
    z-index: 2;
}

/* Lipstick tube (bottom) */
.lipstick-tube {
    width: 12px;
    height: 13px;
    background: linear-gradient(180deg, #e0e0e0 60%, #888 100%);
    border-radius: 2px 2px 5px 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    margin-top: 0;
    z-index: 1;
    position: relative;
}

    .lipstick-tube::after {
        content: '';
        position: absolute;
        left: 2px;
        top: 2px;
        width: 2px;
        height: 8px;
        background: rgba(255,255,255,0.3);
        border-radius: 2px;
    }

/* Lipstick tube (always black) */
.lipstick-tube {
    width: 12px;
    height: 13px;
    background: linear-gradient(180deg, #222 60%, #000 100%);
    border-radius: 2px 2px 5px 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    margin-top: 0;
    z-index: 1;
    position: relative;
}
.lipstick-tube::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 2px;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

/* Lipstick tip (pink by default) */
.lipstick-tip {
    width: 12px;
    height: 10px;
    background: linear-gradient(135deg, #ffb6c1 60%, #ff4b81 100%);
    border-radius: 8px 8px 12px 12px / 12px 12px 8px 8px;
    margin-bottom: 0;
    margin-top: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.10);
    border-bottom: 2px solid #fff0f5;
    z-index: 3;
}

/* Lipstick tip (red in dark mode) */
[data-theme="dark-lipstick"] .lipstick-tip {
    background: linear-gradient(135deg, #b22234 60%, #8b0000 100%);
}
[data-theme="dark-lipstick"] .lipstick-tube {
    background: linear-gradient(180deg, #222 60%, #000 100%);
}

[data-theme="dark-lipstick"] .navbar,
[data-theme="dark-lipstick"] .navbar a,
[data-theme="dark-lipstick"] .navbar-brand,
[data-theme="dark-lipstick"] .nav-link {
    color: #fff !important;
}

/* Light mode (optional, for contrast) */
.column-block-item {
    background: var(--background-color);
    color: var(--text-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.5rem 1rem;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.04);*/
    /* border: 1px solid #eee; */
}


/* Dark mode override */
[data-theme="dark-lipstick"] .column-block-item {
    background: #2d0018;
    color: #ffb6c1;
    /*border: 1px solid #4a1830;*/
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.25);*/
}


[data-theme="dark-lipstick"] .column-block-item a {
    color: #ffb6c1;
}

[data-theme="dark-lipstick"] .column-block-item h1,
[data-theme="dark-lipstick"] .column-block-item h2,
[data-theme="dark-lipstick"] .column-block-item h3,
[data-theme="dark-lipstick"] .column-block-item {
    background: #2d0018;
    color: #ffb6c1;
    border: none; /* Brighter, thicker border */
    /* box-shadow: 0 2px 12px 0 rgba(255, 75, 129, 0.15), 0 0 0 2px #4a1830; */
}

.column-block-item .card-body {
    color: var(--text-color) !important;
    background: var(--background-color) !important;
    border: none;
}


.card-body {
    color: var(--text-color) !important;
    background: var(--background-color) !important;
    border: none;
}

.card {
    border: none;
}