@import url('./header-footer.css');
@import url('./products.css');
@import url('./dashboard.css');
@import url('./inputs.css');
@import url('./buttons.css');
@import url('./tags.css');
@import url('./images.css');
:root {
    --vh: 100%;

    --n-font-size: 18px;
    --s-font-size: 16px;
    --xs-font-size: 14px;
    --xxs-font-size: 12px;
    --l-font-size: 20px;
    --xl-font-size: 22px;

    --title-font-size: 30px;
    --card-icon-size: 50px;

    --n-font-weight: 450;
    --l-font-weight: 350;
    --b-font-weight: 550;

    --n-font-color: #666;
    --l-font-color: #999;
    --d-font-color: #333;

    --background-color: #FCE2E6;

    /* Original background color: #FADADD */
    /* Original background pattern color: #FADADD */

    --primary-color: #E195AB;
    --hover-color: #F37199;

    --header-height: 100px;
    --footer-height: 60px;

    --box-shadow-5px: 5px 5px 0 0 rgba(0, 0, 0, 0.16);
    --box-shadow-4px: 4px 4px 0 0 rgba(0, 0, 0, 0.15);
    --box-shadow-3px: 3px 3px 0 0 rgba(0, 0, 0, 0.14);
    --box-shadow-2px: 2px 2px 0 0 rgba(0, 0, 0, 0.13);
    --box-shadow-1px: 1px 1px 0 0 rgba(0, 0, 0, 0.12);

    --text-shadow-3px: 3px 3px 0 rgba(0, 0, 0, 0.14);
    --text-shadow-2px: 2px 2px 0 rgba(0, 0, 0, 0.13);
    --text-shadow-1px: 1px 1px 0 rgba(0, 0, 0, 0.12);
}
@media (max-width: 768px) {
    :root {
        --n-font-size: 16px;
        --s-font-size: 14px;
        --xs-font-size: 12px;
        --l-font-size: 18px;
        --xl-font-size: 20px;
        --card-icon-size: 40px;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fredoka';
    color: var(--n-font-color);
}
a {
    text-decoration: none;
}
body {
    min-height: 100vh;
    font-size: var(--n-font-size);
    font-weight: var(--n-font-weight);
}
.main-content {
    background-color: var(--background-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='133' height='133' viewBox='0 0 20 20'%3E%3Cg %3E%3Cpolygon fill='%23F8DADB' points='20 10 10 0 0 0 20 20'/%3E%3Cpolygon fill='%23F8DADB' points='0 10 0 20 10 20'/%3E%3C/g%3E%3C/svg%3E");

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    min-height: calc(var(--vh, 1vh) * 100 - var(--header-height));
    width: 100%;
}
.pages {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
.page {
    background-color: #fff;
    box-shadow: var(--box-shadow-3px);
    padding: 32px;
    border-radius: 16px;
    width: calc(100vw - 60px);
    max-width: 450px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateY(-50%) translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.card {
    background-color: #fff;
    box-shadow: var(--box-shadow-3px);
    padding: 32px;
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
}
.page.active {
    transform: translateY(-50%) translateX(0%);
    opacity: 1;
    pointer-events: all;
    z-index: 2;
}
.page.slide-left {
    transform: translateY(-50%) translateX(-100%);
    opacity: 0;
}
.page.slide-right {
    transform: translateY(-50%) translateX(100%);
    opacity: 0;
}
.title {
    text-shadow: var(--text-shadow-2px);
    color: #333;
    margin-bottom: 32px;
    text-align: center;
    width: 100%;
}
.group-title {
    text-shadow: var(--text-shadow-1px);
    font-size: var(--xs-font-size);
    font-weight: var(--b-font-weight);
    color: #444;
    width: 100%;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.s-text {
    font-size: var(--s-font-size);
}
.xs-text {
    font-size: var(--xs-font-size);
}
.xxs-text {
    font-size: var(--xxs-font-size);
}
.text-align-center {
    width: 100%;
    text-align: center;
}
.full-width {
    width: 100%;
}
.buttons {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 20px;
    display: flex;
    gap: 20px;
    z-index: 100;
    box-shadow: var(--box-shadow-3px);
    border-radius: 16px;
}
.buttons button {
    width: auto;
}
.link {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    cursor: pointer;
}
.card-icon {
    color: var(--primary-color);
    text-shadow: 2px 2px 0 rgba(243, 113, 153, 0.3);
    font-size: var(--card-icon-size);
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
  }
.flex-col, .flex-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-col {
    flex-direction: column;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.notification {
    position: fixed;
    top: calc(var(--header-height) + 20px);
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 10px;
    background: #FF6B6B;
    color: #fff;
    box-shadow: var(--box-shadow-3px);
    transform: translateX(200%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: 300px;
}
.notification.success {
    background: #4BB543;
}
.notification .notification-message, .notification i {
    color: #fff;
}
.notification.show {
    transform: translateX(0);
}












@media (max-width: 768px) {
    h1 {
        font-size: 1.75em;
    }
    .mobile-wrap {
        flex-wrap: wrap;
    }
    .admin-stats {
        grid-template-columns: repeat(2, 1);
    }
    .dashboard {
        flex-wrap: wrap;
    }
    .dashboard-panel {
        display: none;
    }
    .dashboard-content {
        width: 100%;
        padding: 0px;
    }
}