﻿body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background-color: #f4f7f6; 
    margin: 0;
    padding: 0;
    color: #333;
    text-align: center;
}

/* Navigation Menu */
.navbar {
    background-color: #2c3e50; 
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .navbar a {
        color: white;
        text-decoration: none;
        padding: 12px 25px;
        font-size: 16px;
        margin: 0 5px;
        border-radius: 4px;
        transition: background-color 0.3s; 
    }

        .navbar a:hover {
            background-color: #34495e; 
        }

/* Main Content Box */
.container {
    width: 70%;
    margin: 40px auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    min-height: 500px;
}

h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee; 
    padding-bottom: 10px;
    display: inline-block;
}

/* Forms */
form {
    display: inline-block;
    text-align: left;
    background-color: #fff;
    padding: 20px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

label {
    font-weight: 600;
    color: #555;
    margin-top: 15px;
    display: block;
}

input, select {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box; 
}

    input:focus {
        border-color: #3498db; 
        outline: none;
    }

/* Buttons */
button, .btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

    button:hover, .btn:hover {
        background-color: #2980b9; 
    }

    /* Secondary Button (for Cancel/Back) */
    button.secondary {
        background-color: #95a5a6;
    }



/* Product Cards (For Search Page) */
.product-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    width: 220px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

    .card:hover {
        transform: translateY(-5px); 
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .card img-placeholder {
        display: block;
        height: 120px;
        background-color: #ecf0f1;
        margin-bottom: 15px;
        border-radius: 4px;
        line-height: 120px;
        color: #bdc3c7;
    }

/* Tables */
table {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
}

th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
}

tr:hover {
    background-color: #f1f1f1;
}

/* Ensure the body takes up the full screen height */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.page-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Styling for the Centered Form Container */
.login-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

    .login-container h1 {
        margin-top: 0;
        font-size: 24px;
        color: #333;
    }

    .login-container input {
        width: 100%; 
        margin-bottom: 15px;
    }

    .login-container button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        background-color: #3498db;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        .login-container button:hover {
            background-color: #2980b9;
        }


