/* ----------------- LOGIN PAGE STYLES ----------------- */
body.login-page {
    background: #f5f5f5;
    font-family: "Roboto", sans-serif;
    height: 100vh; /* Full height */
    display: flex; /* Flexbox */
    justify-content: center; /* Horizontal center */
    align-items: center; /* Vertical center */
    margin: 0;
}

.login-box {
    width: 650px; /* fixed width for nice centering */
    background: #1a2226;
    text-align: center;
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.23);
    padding: 40px;
    border-radius: 6px;
}

.login-key {
    height: 100px;
    font-size: 80px;
    line-height: 100px;
    background: -webkit-linear-gradient(#27ef9f, #0db8de);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-title {
    margin-top: 15px;
    text-align: center;
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: bold;
    color: #ecf0f5;
}

.login-form {
    margin-top: 25px;
    text-align: left;
}

input[type="text"],
input[type="password"] {
    background-color: #1a2226;
    border: none;
    border-bottom: 2px solid #0db8de;
    border-radius: 0px;
    font-weight: bold;
    outline: 0;
    margin-bottom: 20px;
    padding-left: 0px;
    color: #ecf0f5;
}

.form-group {
    margin-bottom: 40px;
    outline: 0px;
}

.form-control:focus {
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-bottom: 2px solid #0db8de;
    outline: 0;
    background-color: #1a2226;
    color: #ecf0f5;
}

input:focus {
    outline: none;
    box-shadow: 0 0 0;
}

label {
    margin-bottom: 0px;
}

.form-control-label {
    font-size: 10px;
    color: #6c6c6c;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-outline-primary {
    border-color: #0db8de;
    color: #0db8de;
    border-radius: 0px;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.24);
}

.btn-outline-primary:hover {
    background-color: #0db8de;
    right: 0px;
}

.login-button {
    padding-right: 0px;
    margin-bottom: 25px;
}

.login-text {
    text-align: center;
    padding-left: 0px;
    color: #ff6b6b;
}

.loginbttm {
    padding: 0px;
}

/* ----------------- WORK ORDER FORM STYLES ----------------- */
body.workorder-page {
    background: #f4f6f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Roboto", sans-serif;
}

.navbar-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ccc; /* fallback gray */
}

/* Active tab highlight */
.navbar-nav .nav-link.active {
    color: #fff !important;
    border-radius: 0px;
}

.card-container {
    max-width: 900px;
    width: 100%;
    margin: 15px auto;
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.23);
}

.item-box {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    background: #f9f9f9;
    position: relative;
}

.form-control:focus::placeholder {
    color: #fff;
    opacity: 1;
}

.remove-item {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: red;
    font-weight: bold;
}

h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

body.workorder-list .card-container {
    width: 95%; /* make it wider */
    max-width: 95vw; /* optional: prevent it from being too wide on huge screens */
    margin: 30px auto; /* center horizontally */
    background: #fff; /* keep the table/card background white */
    padding: 20px; /* space inside the card */
    border-radius: 6px; /* rounded corners */
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.23);
}

/* ----------------- STANDARDIZE BUTTONS ----------------- */
.btn {
    border-radius: 0 !important; /* Remove rounded corners */
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.24);
    width: 200px; /* Standard width for all buttons */
    text-align: center;
}

.btn-outline-primary {
    border-color: #0db8de;
    color: #0db8de;
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: #0db8de;
    color: #fff;
}

.btn-outline-secondary {
    border-color: #0db8de;
    color: #0db8de;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: #0db8de;
    color: #fff;
}

.btn-outline-danger {
    border-color: red;
    color: red;
    background-color: transparent;
}

.btn-outline-danger:hover {
    background-color: red;
    color: #fff;
}

.item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-details {
    flex: 2;
}

.item-thumbnail {
    flex: 0 0 auto;
}

.item-complete {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

#confirmStatusModal .modal-content {
    background-color: #ccc; /* dark theme background */
    color: #fff; /* text color */
}

/* ----------------- FOOTER ----------------- */
.site-footer {
    background-color: #1a2226; /* match login card background */
    color: #ecf0f5; /* light text */
    padding: 15px 0;
    position: relative;
    width: 100%;
    bottom: 0;
    text-align: center;
    font-size: 14px;
    box-shadow:
        0 -2px 6px rgba(0, 0, 0, 0.16),
        0 -2px 6px rgba(0, 0, 0, 0.23);
}
