﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
    
}
@media (max-width:768px) {

    .container {
        width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbar-brand {
        font-size: 18px !important;
    }

    .navbar-nav li a {
        text-align: center;
    }

    .table {
        font-size: 12px;
    }

        .table img {
            width: 60px !important;
            height: 60px !important;
        }

    .btn {
        margin-bottom: 5px;
    }

    input[type=number] {
        width: 70px !important;
    }
}
body {
    background: #f4f6f5;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: #333;
}

/* Navbar */
.navbar {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.navbar-brand {
    letter-spacing: 1px;
}

.navbar-nav li a {
    transition: 0.3s;
}

    .navbar-nav li a:hover {
        background: rgba(255,255,255,0.15) !important;
        border-radius: 8px;
    }

/* Titles */
h1, h2, h3 {
    font-weight: bold;
}

/* Cards */
.product-card,
.panel,
.jumbotron {
    border: none;
    transition: 0.3s;
}

    .product-card:hover,
    .panel:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
    }

/* Buttons */
.btn {
    border-radius: 20px;
    padding: 8px 18px;
    font-weight: bold;
    transition: 0.3s;
}

    .btn:hover {
        transform: scale(1.05);
    }

/* Images */
img {
    max-width: 100%;
}

.product-card img {
    transition: 0.3s;
}

.product-card:hover img {
    transform: scale(1.04);
}

/* Forms */
.form-control {
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #ccc;
}

    .form-control:focus {
        border-color: #198754;
        box-shadow: 0 0 8px rgba(25,135,84,0.3);
    }

/* Tables */
.table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px #ddd;
}

    .table th {
        background: #198754;
        color: white;
        text-align: center;
    }

    .table td {
        vertical-align: middle !important;
        text-align: center;
    }

/* Footer */
footer {
    box-shadow: 0 0 18px rgba(0,0,0,0.15);
}

/* Mobile */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 20px !important;
    }

    .product-card {
        min-height: auto !important;
    }

    h1 {
        font-size: 28px;
    }
}
