/* Register Page Styles - Professional Design */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f6f8fa;
}

.register-container {
    max-width: 700px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.register-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1e3a34;
    font-size: 2rem;
}

.register-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.register-container input[type="text"],
.register-container input[type="number"],
.register-container input[type="email"],
.register-container input[type="date"],
.register-container input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}


.register-container input:focus {
    border-color: #1e3a34;
    outline: none;
    background-color: #f9f9f9;
}

.register-container button {
    width: 100%;
    padding: 14px;
    background-color: #1e3a34;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
/* 🌑 Improved Dark Mode Styling */

body.dark-mode {
    background-color: #0b1a0f !important; /* deeper greenish black */
    color: #cdeac0 !important;            /* soft mint text */
    font-family: 'Segoe UI', sans-serif;
}

body.dark-mode nav {
    background-color: #133e1e !important;
    border-bottom: 2px solid #7fdb6a !important;
}

body.dark-mode a {
    color: #8bf599 !important;
    text-decoration: none;
}

body.dark-mode a:hover {
    text-decoration: underline;
    color: #b7ffcc !important;
}

body.dark-mode .login-container,
body.dark-mode .content-box,
body.dark-mode .product-card,
body.dark-mode .cart-box {
    background-color: #122a18 !important;
    border: 1px solid #356f4f !important;
    box-shadow: 0 0 10px rgba(139, 245, 153, 0.15);
    padding: 1.5em;
    border-radius: 12px;
    color: #e2ffe2 !important;
}

/* Headings */
body.dark-mode h1,
body.dark-mode h2 {
    color: #a7ffb5 !important;
}

/* Buttons */
body.dark-mode button {
    background-color: #1f4e31 !important;
    color: #cdeac0 !important;
    border: 1px solid #8bf599 !important;
    border-radius: 6px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

body.dark-mode button:hover {
    background-color: #296e45 !important;
    cursor: pointer;
}

/* Footer */
body.dark-mode footer {
    background-color: #112c1c !important;
    color: #85d993 !important;
    border-top: 1px solid #1c4c30 !important;
    padding: 1em;
    text-align: center;
}

body.dark-mode input[type="password"] {
    background-color: #0f2617;
    border: 1px solid #356f4f;
    color: #cdeac0;
}
