/* General Styles */

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.auth-container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.auth-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.auth-message {
    color: red;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-input {
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.auth-button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-button:hover {
    background: #0056b3;
}

.auth-link {
    display: block;
    margin-top: 1rem;
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .auth-container {
        width: 90%;
    }
}
/* styles.css - Global styles for the stock management system */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navigation Menu */
.menu {
    display: flex;
    justify-content: space-between;
    background: #2C3E50;
    padding: 15px;
}

.menu h1 {
    color: white;
    font-size: 20px;
}

.menu ul {
    list-style: none;
    display: flex;
}

.menu ul li {
    margin: 0 10px;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

.menu ul li a.active {
    background: #1ABC9C;
    border-radius: 5px;
}

/* Page Container */
.container {
    width: 80%;
    margin: 20px auto;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.search-box {
    width: 70%;
    padding: 8px;
}

.add-btn {
    background: #27AE60;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

/* Product Table */
.product-table {
    width: 100%;
    border-collapse: collapse;
}

.product-table th, .product-table td {
    border: 1px solid #ddd;
    padding: 10px;
}

.product-table th {
    background: #ECF0F1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: white;
    width: 50%;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
}

.close {
    float: right;
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 8px 12px;
    border: none;
    cursor: pointer;
}

.save-btn {
    background: #2980B9;
    color: white;
}

