﻿/* General Page Styles */
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

body {
    height: 100%;
    width: 100%;
    padding-top: 75px;
    position: relative;
    font-family: 'Open Sans', serif;
    font-size: 16px;
}


h2 {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 10px;
    color: #333333;
}

.table th, .table td {
    text-align: left;
    vertical-align: middle;
    padding: 12px;
}

.btn {
    padding: 6px 12px;
    font-size: 16px;
}

.table td.status-column {
    font-weight: bold;
    background-color: #f7f7f7;
}

.btn-warning {
    background-color: #ee5435;
    border-color: #ee5435;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 1px;
}

    .btn-warning:hover {
        background-color: #ff2b00;
        border-color: #ff2b00;
    }

.mb-3 {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    h2 {
        font-size: 20px;
    }

    .btn {
        font-size: 14px;
        padding: 4px 8px;
    }

    .table {
        font-size: 14px;
    }
}

.Background {
    background-color: black;
    opacity: 0.8;
}

.container {
    margin-bottom: 10px;
    max-width: 1200px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.10rem;
}

.card-header {
    padding: 0.75rem 1.25rem;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Modal Styling */
.modal-body {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    max-height: 70vh;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    font-size: 14px; /* Standard font size for form controls */
    padding: 10px 12px; /* Maintain adequate padding for readability */
}

.modal-footer {
    padding: 10px;
    text-align: right;
    background-color: #f1f1f1;
    border-top: 1px solid #dee2e6;
}

/* Popup Modal */
.Popup {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 5px auto;
}

/* Modal Wrapper */
.modal-dialog {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 80vh;
    overflow: hidden;
    min-height: 100vh;
}

/* Modal Header */
.modal-header {
    background-color: #17a2b8;
    color: white;
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-title {
    font-size: 18px;
    margin: 0;
}

.modal-header .close {
    color: white;
    font-size: 1.2rem;
}

/* Prevent Body Scrolling When Modal is Open */
body.modal-open {
    overflow: hidden;
}

/* Modal Backdrop */
.modal-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-large {
    width: 80% !important; /* Adjust the width as needed */
    max-width: 80% !important;
    margin: auto;
}
.grid-column-width {
    width: 150px; /* or whatever width you prefer */
}

.custom-button {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: 0.25rem;
    cursor: pointer;
}

    .custom-button:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }


@media (max-width: 767px) {
    .col-md-4 {
        flex: 1 1 100%; /* Ensures the button takes the full width on mobile */
    }

    .btn-process {
        position: absolute;
        top: 10px;
        right: 10px;
    }
}
