﻿
/* =========================
   GLOBAL
========================= */

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================
   TOPBAR (HEADER + NAVBAR)
========================= */

.topbar {
    background: #ff7a00;
    margin: 10px;
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* TITLE */
.top-title {
    color: white;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
}

/* NAVBAR INSIDE TOPBAR */
.navbar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

    /* NAV LINKS */
    .navbar a {
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 10px 16px;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

        /* HOVER EFFECT */
        .navbar a:hover {
            background: white;
            color: #ff7a00;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }

        /* ACTIVE LINK */
        .navbar a.active {
            background: white;
            color: #ff7a00;
        }

/* =========================
   CONTAINER
========================= */

.container {
    padding: 30px;
    flex: 1;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: #ff7a00;
    color: white;
    text-align: center;
    padding: 12px;
    width: 100%;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* =========================
   BUTTONS
========================= */

button,
.aspNetButton,
input[type="submit"] {
    background: linear-gradient(90deg, #ff7a00, #ff9a3d);
    color: white;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
    margin-top: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

    button:hover,
    .aspNetButton:hover,
    input[type="submit"]:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 14px rgba(255, 122, 0, 0.35);
    }

    button:active,
    .aspNetButton:active,
    input[type="submit"]:active {
        transform: scale(0.97);
    }

/* =========================
   TABLES
========================= */

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

th {
    background-color: #ff7a00;
    color: white;
    padding: 10px;
}

td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* =========================
   INPUTS
========================= */

.textbox, .dropdown {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ff7a00;
    border-radius: 6px;
    box-sizing: border-box;
}

    .textbox:focus,
    .dropdown:focus {
        outline: none;
        box-shadow: 0 0 6px rgba(255, 122, 0, 0.4);
    }

/* =========================
   LOGIN BOX
========================= */

.form-box {
    width: 450px;
    margin: 70px auto;
    padding: 30px;
    border: 2px solid #ff7a00;
    border-radius: 12px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* =========================
   HOMEPAGE
========================= */

.homepage-container {
    background-image: url('Assets/inventory-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-bottom: 40px;
}

    .homepage-container::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(255, 102, 0, 0.75);
    }

.homepage-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    width: 80%;
    max-width: 700px;
}

    .homepage-content h1 {
        font-size: 52px;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .homepage-content p {
        font-size: 18px;
        line-height: 1.7;
        margin-bottom: 35px;
    }

/* =========================
   HOMEPAGE BUTTONS
========================= */

.home-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

    .home-buttons a {
        text-decoration: none;
        padding: 14px 35px;
        background: white;
        color: #ff6600;
        border-radius: 8px;
        font-size: 18px;
        font-weight: bold;
        transition: all 0.3s ease;
    }

        .home-buttons a:hover {
            background-color: #ffe0cc;
            transform: scale(1.08);
        }

/* =========================
   MESSAGE
========================= */

.message {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #ff7a00;
}
