:root {
    --primary-color: #ff6b6b;
    --gradient-start: #ff6b6b;
    --gradient-end: #ffa26b;
    --background: #fff5f5;
    --text-color: #2d3436;
    --accent-color: #ffd93d;
}

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

body {
    background: var(--background);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(255, 107, 107, 0.1),
                0 10px 10px -5px rgba(255, 107, 107, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 400px;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: -webkit-linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #ffe8e8;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
    outline: none;
}

label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0 0.5rem;
    color: #888;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
}

input:focus + label,
input:not(:placeholder-shown) + label {
    transform: translateY(-1.4rem) scale(0.8);
    background: white;
    color: var(--primary-color);
}

button[type="submit"] {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 107, 107, 0.3);
}

.links {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}

.links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.links a:hover {
    color: var(--gradient-end);
}

/* Password toggle styles */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
    color: #888;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.password-toggle i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.eye-icon,
.eye-off-icon {
    transition: all 0.3s ease;
}

.eye-off-icon {
    display: none;
}

.password-visible .eye-icon {
    display: none;
}

.password-visible .eye-off-icon {
    display: inline;
}

/* Adjust input padding for password fields */
.input-group input[type="password"] {
    padding-right: 3rem;
}

/* Error message styling */
.error-message {
    background-color: #ffe8e8;
    color: var(--primary-color);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    text-align: center;
}

/* Terms checkbox styling */
.terms-checkbox {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.terms-checkbox label {
    position: static;
    color: #64748b;
    font-size: 0.9rem;
    background: none;
    padding: 0;
    transform: none;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

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

/* Shapes background */
.shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.15;
    animation: float 20s infinite;
}

.shape:nth-child(1) {
    width: 500px;
    height: 500px;
    top: -250px;
    left: -250px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
}

.shape:nth-child(2) {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
    background: linear-gradient(45deg, #ffa26b, #ff6b6b);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(100px, 100px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }
} 

/* Register link styles */
.register-link {
    margin-top: 1.5rem;
    text-align: center;
}

.register-link p {
    color: #666;
    margin-bottom: 0.5rem;
}

.register-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register-button:hover {
    background: var(--gradient-end);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(255, 107, 107, 0.2);
}

/* Existing link styles */
.links {
    margin-top: 1rem;
    text-align: center;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--gradient-end);
} 
.strength-bar {
    width: 100%;
    height: 4px;
    background-color: #E2E8F0;
    border-radius: 2px;
    margin-top: 8px;
    display: none;
}
.strength-indicator {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 12px;
    margin-top: 4px;
    color: #718096;
    display: none;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.food-status {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.food-status.expired {
    background-color: #ff4d4d;
    color: white;
}

.food-status.expiring-soon {
    background-color: #ffa500;
    color: black;
}

.food-status.expiring-week {
    background-color: #ffff00;
    color: black;
}

.food-status.good {
    background-color: #4caf50;
    color: white;
}
.food-card.expired {
    border-color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
}

.food-status.expired {
    background-color: #ff4d4d;
}

.food-card.expired::before {
    background-color: #ff4d4d;
}
.category-section {
    margin-bottom: 2rem;
}

.category-section h2 {
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.view-by-tags {
    margin-top: auto;
}
.nav-section-header {
    padding: 10px 15px;
    color: #666;
    font-weight: bold;
    font-size: 0.9em;
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
}

.category-links {
    margin-top: auto;
    margin-bottom: 15px;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 0.9em;
}

.category-link i {
    margin-right: 10px;
    font-size: 0.9em;
}

.category-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
:root {
    --peach: #FFDAB9;
    --peach-light: #FFE5B4;
    --peach-dark: #FFCBA4;
    --peach-text: #8B4513;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--peach-text);
    background-color: var(--white);
}

header {
    background-color: var(--peach);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: var(--peach-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.sign-in-btn {
    background-color: var(--peach-dark);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.sign-in-btn:hover {
    background-color: var(--peach-text);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--peach-text);
    margin: 5px;
    transition: all 0.3s ease;
}

main {
    margin-top: 60px;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.hero {
    background-color: var(--peach-light);
    text-align: center;
    padding: 6rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--peach-dark);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--peach-text);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: var(--peach-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.testimonials {
    background-color: var(--peach);
}

.testimonial-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-weight: bold;
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid var(--peach);
    border-radius: 5px;
}

.contact button {
    background-color: var(--peach-dark);
    color: var(--white);
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: var(--peach-text);
}

.about {
    background-color: var(--peach-light);
    padding: 4rem 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1rem;
}

footer {
    background-color: var(--peach-dark);
    color: var(--white);
    text-align: center;
    padding: 1rem;
}

#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--peach-dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    transition: background-color 0.3s ease;
}

#scroll-to-top:hover {
    background-color: var(--peach-text);
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--peach);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links li.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links li.active a {
    color: #ff6b6b;
}
