/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f6fa;
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 1rem 2rem;
    color: black;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    gap: 10rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a.active {
    border-bottom: 2px solid #00a8ff;
}

.active {
    border-bottom: 2px solid #00a8ff;
}

/* Container */
.container {
    margin: 2rem auto;
    max-width: 40%;

}

/* Forms */
.request-section,
.order-section {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input,
select,
textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

input[type="file"] {
    padding: 0.5rem 0;
}

button {
    padding: 0.75rem;
    background-color: #273c75;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #192a56;
}

@media (max-width: 768px) {
    .container {
        margin-left: 4rem;
        padding: 1rem;
    }
}


.welcome-section {
    text-align: center;
    padding: 3rem 1rem;
}

.welcome-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2f3640;
}

.welcome-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #273c75;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta:hover {
    background-color: #192a56;
}

.cta.secondary {
    background-color: #718093;
}

.cta.secondary:hover {
    background-color: #57606f;
}

img {
    width: px;
    height: 30px;
}

#other-industry {
    margin-top: 1rem;
}

/* Login Page Specific Styles */
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    color: #273c75;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.input-group i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    color: #718093;
    font-size: 1rem;
}

.input-group input {
    padding-left: 40px !important;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #718093;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
    font-size: 0.9rem;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem !important;
    font-size: 1rem;
    margin: 1.5rem 0;
}

.social-login {
    text-align: center;
    margin: 2rem 0;
}

.social-login p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #ddd;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn.google {
    background-color: #DB4437;
}

.social-btn.microsoft {
    background-color: #00A1F1;
}

.links {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.links a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.links a:hover {
    text-decoration: underline;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: #ffffff;
    border-right: 1px solid #ddd;
    transition: transform 0.3s ease;
    position: fixed;
    height: 100vh;
    z-index: 900;
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar-header {
    font-size: 1.5rem;
    font-weight: bold;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;

    border-bottom: 1px solid #eee;
    text-align: center;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.nav-link {
    display: block;
    padding: 10px 15px;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s;
}

.nav-link:hover {
    background-color: #f0f0f0;
}

/* Main Content */
.main-content {
    margin-left: 250px;
    padding: 2rem;
    flex: 1;
    transition: margin-left 0.3s ease;
}

.toggle-btn {
    display: none;
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
    }

    .toggle-btn {
        display: block;
    }

    .sidebar {
        position: absolute;
        top: 0;
        left: 0;
    }
}

/* Table Styles */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.styled-table thead {
    background-color: #f4f4f4;
    border-left: 1px solid black;
    border-right: 1px solid black;

}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid black;
    border-right: 1px solid black;

}

.styled-table tbody tr:hover {
    background-color: #f9f9f9;
}

.status {
    font-weight: bold;
}

.status.active {
    color: green;
}

.status.inactive {
    color: red;
}

.prof {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 3rem;
}

.card {
    border: 0;
    background: #fff;
    padding-left: 45px;
    padding-right: 45px;
    padding-top: 40px;
    padding-bottom: 45px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.page-header {
    margin: 0 0 1.5rem 0;
    display: flex;

    justify-content: space-between;
}

.btn-primary {
    padding: 7px;
    color: white;
    background-color: #00a8ff;
    border-radius: 2px;
}

.icon-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.edit-icon {
    color: #007bff;
    /* Bootstrap blue */
    cursor: pointer;
    transition: color 0.2s;
}

.edit-icon:hover {
    color: #0056b3;
}

.delete-icon {
    color: red;
    cursor: pointer;
    transition: color 0.2s;
}

.delete-icon:hover {
    color: darkred;
}

.pend {
    background-color: rgba(40, 40, 176, 0.765);
    padding: 4px;
    text-align: center;
    border-radius: 10px;
    color: white;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: black;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal input[type="text"],
.modal input[type="email"] {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.modal-footer {
    margin-top: 20px;
    text-align: right;
}

.modal-footer button {
    padding: 8px 16px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.save-btn {
    background-color: #28a745;
    color: white;
}

.close-btn {
    background-color: #dc3545;
    color: white;
}

.open-modal-btn {

    cursor: pointer;
}


.dashboard {
    margin-left: 260px;
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.cardOne {
    flex: 1 1 250px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    min-width: 250px;
}

.cardOne h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.cardOne .count {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.cardOne .label {
    font-size: 14px;
    color: #666;
}

.todo-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.todo-container h3 {
    margin-bottom: 15px;
}

.todo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.todo-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.todo-list li:last-child {
    border-bottom: none;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
    }
}







/* Responsive Styles */

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .logo {
        gap: 2rem;
        font-size: 1.2rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1rem;
    }

    .container {
        margin-left: 1rem;
        margin-right: 1rem;
        max-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .prof {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .card {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .nav-links {
        font-size: 0.9rem;
    }

    h1,
    h2 {
        font-size: 1.5rem;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }

    .welcome-section p,
    .form-header p {
        font-size: 1rem;
    }

    .submit-btn {
        flex-direction: column;
        gap: 0.5rem;
    }

    .social-icons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .main-content {
        padding: 1rem;
    }

    .styled-table th,
    .styled-table td {
        font-size: 0.9rem;
        padding: 10px;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 5px;
    }
}


.select-group {
    display: flex;


    margin: 1rem 0;
}

.select-group select {
    flex: 1;
    /* equal width */
    padding: 0.6rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.select-group select:focus {
    outline: none;
    border-color: #00a8ff;
    /* highlight color on focus */
}

/* Responsive behavior */
@media (max-width: 480px) {
    .select-group {
        flex-direction: column;
    }

    .select-group select {
        width: 100%;
        /* full width on small screens */
    }
}

.search-container {
    position: relative;
    display: inline-block;
}

#searchBar {
    padding-left: 60px;
    /* Make space for the icon */
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.multiselect-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    font-family: sans-serif;
}

.multiselect-display {
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #0039b3;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    user-select: none;
}

.multiselect-display::after {
    content: ' ▼';
    float: right;
}

.checkbox-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkbox-dropdown label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.checkbox-dropdown input[type="checkbox"] {
    margin-right: 8px;
}