﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
.text-center {
    text-align: center;
}

.btn-primary {
    color: #fff;
    background-color: #b4893a;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #504b4a;
    }

a {
    color: #b4893a;
}

select.form-control:not([size]):not([multiple]) {
    height: calc(2.8rem + 2px);
}

#Attachmentlabel {
    margin-right: 25px;
}

.wizard-step {
    display: none;
}

.payment {
}

.Wizard-hide {
    display: none !important;
}
/*form styles*/
#msform {
    width: 100%;
    margin: 50px auto;
    /*text-align: center;*/
    position: relative;
}

.datepicker {
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: auto;
    margin: 0 10%;
}
    /*Hide all except first fieldset*/
    #msform fieldset:not(:first-of-type) {
        display: none;
    }
/*inputs*/
#msform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 10px;
    box-sizing: border-box;
    color: #2C3E50;
    font-size: 13px;
}

.InputArea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 10px;
    box-sizing: border-box;
    color: #2C3E50;
    font-size: 13px;
}
/*buttons*/
#msform .action-button {
    width: 100px;
    background: #bf9038;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

    #msform .action-button:hover, #msform .action-button:focus {
        box-shadow: 0 0 0 2px white, 0 0 0 3px #504b4a;
    }
/*headings*/
.fs-title {
    font-size: 15px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

    #progressbar li {
        list-style-type: none;
        color: white;
        text-transform: uppercase;
        font-size: 9px;
        width: 33.33%;
        float: left;
        position: relative;
    }

        #progressbar li:before {
            content: counter(step);
            counter-increment: step;
            width: 20px;
            line-height: 20px;
            display: block;
            font-size: 10px;
            color: #333;
            background: white;
            border-radius: 3px;
            margin: 0 auto 5px auto;
        }
        /*progressbar connectors*/
        #progressbar li:after {
            content: '';
            width: 100%;
            height: 2px;
            background: white;
            position: absolute;
            left: -50%;
            top: 9px;
            z-index: -1; /*put it behind the numbers*/
        }

        #progressbar li:first-child:after {
            /*connector not needed before the first step*/
            content: none;
        }
        /*marking active/completed steps green*/
        /*The number of the step and the connector before it = green*/
        #progressbar li.active:before, #progressbar li.active:after {
            background: #bf9038;
            color: white;
        }

.progressstatus {
    padding: 2px;
    font-size: 11px;
    border: 1px solid;
    border-radius: 10px;
    text-align: center;
    color: white;
    background-color: green;
}

.approvedstatus {
    padding: 2px;
    font-size: 11px;
    border: 1px solid;
    border-radius: 10px;
    text-align: center;
    color: white;
    background-color: black;
}

.queuestatus {
    padding: 1px;
    font-size: 11px;
    border: 1px solid;
    border-radius: 10px;
    text-align: center;
    color: white;
    background-color: orange;
}
.declinedstatus {
    padding: 1px;
    font-size: 11px;
    border: 1px solid;
    border-radius: 10px;
    text-align: center;
    color: white;
    background-color: red;
}

/*.approvedstatus:hover {
    background-color:orange;
}

.progressstatus:hover {
    background-color: orange;
}

.queuestatus:hover {
    background-color: orange;
}

.declinedstatus:hover {
    background-color: orange;
}
*/

.actionitems {
    transition: background-color 0.3s;
}

.actionitems:hover {
    background-color: orange;
}
/* Responsive adjustments */
/*@media (max-width: 768px) {
    .custom-table th, .custom-table td {
        font-size: 0.85rem;
        padding: 0.5rem;
        max-width: 100%;
    }
}*/

/* Responsive tweaks */
@media (max-width: 768px) {
    .custom-table th,
    .custom-table td {
        font-size: 0.8rem;
        padding: 0.3rem 0.4rem;
    }
}

.custom-table {
    width: 100%;
    table-layout: auto; /* dynamic column widths */
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem; /* smaller font */
}

    .custom-table th,
    .custom-table td {
        padding: 0.35rem 0.5rem; /* reduced vertical & horizontal padding */
        vertical-align: middle;
        white-space: normal; /* allow wrap */
        word-break: break-word;
    }

    .custom-table thead {
        background-color: #524c4a;
        color: white;
        font-weight: 600;
    }

    .custom-table tbody tr:hover {
        background-color: #f5f5f5;
        transition: background-color 0.2s ease-in-out;
    }
/*sorting css*/
th.sortable.asc::after {
    content: " ▲";
}

th.sortable:not(.asc)::after {
    content: " ▼";
}

th.sortable:hover {
    color: #524c4a;
    text-decoration: underline;
}

#clearSearch {
    background: transparent;
    border: none;
    font-size: 1.25rem !important;
}

/* Optional: reduce input padding to match icon */
#searchBox {
    padding-right: 2.5rem;
    height: calc(1.5em + .53rem + 1px);
}

.table-hover-hearder {
    color: #fff !important;
}
@media print {
    body, html {
        width: 297mm;
        height: 210mm;
    }

    @media print {
        .certificate-border-outer,
        .certificate-border-middle,
        .certificate-border-inner {
            -webkit-print-color-adjust: exact !important; /* Chrome, Safari */
            print-color-adjust: exact !important; /* Modern browsers */
            box-shadow: none !important;
        }

        @media print {
            body {
                margin: 0;
            }

            .pdf-page {
                margin: 0;
                padding: 0;
            }
        }


        /*this datalist just for chat discussion layout*/
        .chat-card {
            border-radius: 1rem;
        }

        .chat-messages {
            max-height: 360px;
            overflow-y: auto;
            padding: 1rem;
            background: #f7f8fb;
        }

        /* Rows */
        .chat-message-row {
            display: flex;
            margin-bottom: 0.75rem;
        }

            .chat-message-row.mine {
                justify-content: flex-end;
            }

            .chat-message-row.theirs {
                justify-content: flex-start;
            }

        /* Bubble wrapper */
        .chat-bubble-wrapper {
            max-width: 70%;
        }

        /* Bubbles */
        .chat-bubble {
            padding: 0.6rem 0.85rem;
            border-radius: 1.1rem;
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
            font-size: 0.9rem;
        }

        .chat-bubble-mine {
            background: #e0f2ff; /* soft blue */
            color: #0f172a;
            border-bottom-right-radius: 0.2rem;
        }

        .chat-bubble-theirs {
            background: #ffffff;
            color: #111827;
            border-bottom-left-radius: 0.2rem;
        }

        /* Header inside bubble */
        .chat-bubble-header {
            margin-bottom: 0.25rem;
        }

        .chat-username {
            font-weight: 600;
            font-size: 0.85rem;
        }

        .chat-company {
            font-size: 0.75rem;
        }

        /* Message text */
        .chat-message-text {
            margin-top: 0.1rem;
            margin-bottom: 0.3rem;
        }

        /* Meta info */
        .chat-meta {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 0.25rem;
            font-size: 0.7rem;
            color: #6b7280;
        }

        .chat-timestamp {
            font-size: 0.7rem;
        }

        /* System messages */
        .chat-system-message {
            text-align: center;
            font-size: 0.8rem;
            color: #6b7280;
            margin: 0.5rem 0;
        }

        /* Input area */
        .chat-input-form {
            padding-top: 0.25rem;
        }

        .chat-textarea {
            resize: none;
            border-radius: 999px 0 0 999px;
            padding-top: 0.6rem;
            padding-bottom: 0.6rem;
        }

            .chat-textarea:focus {
                box-shadow: none;
            }

        /* Send button */
        .btn-chat-send {
            border-radius: 0 999px 999px 0;
            background: #b98c39; /* your SECZ color maybe */
            color: #fff;
            border: none;
            padding: 0 1rem;
        }

            .btn-chat-send:hover {
                background: #9c742f;
                color: #fff;
            }

        /* Smooth scroll */
        .chat-messages::-webkit-scrollbar {
            width: 6px;
        }

        .chat-messages::-webkit-scrollbar-thumb {
            background-color: rgba(148, 163, 184, 0.8);
            border-radius: 3px;
        }


        /* ===========================================
   Vetting Success with Email Failed Modal Styles
   =========================================== */

        /* Modal Content */
        .modal-content {
            border: none;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }

        /* Modal Header - Success Theme */
        .modal-header.bg-success {
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
            border-bottom: none;
            padding: 1.25rem 1.5rem;
        }

        .modal-header .modal-title {
            font-weight: 600;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
        }

            .modal-header .modal-title i {
                font-size: 1.3rem;
            }

        .modal-header .btn-close-white {
            filter: brightness(0) invert(1);
            opacity: 0.8;
            transition: opacity 0.2s ease;
        }

            .modal-header .btn-close-white:hover {
                opacity: 1;
            }

        /* Modal Body */
        .modal-body {
            padding: 1.5rem;
            background-color: #f8f9fa;
        }

        /* Success Alert */
        .alert-success {
            background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
            border: none;
            border-left: 4px solid #28a745;
            border-radius: 8px;
            padding: 1rem 1.25rem;
            box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
        }

            .alert-success i.fa-check-circle {
                color: #28a745;
                animation: scaleIn 0.4s ease-out, pulse 2s infinite;
            }

            .alert-success .alert-heading {
                color: #155724;
                font-weight: 600;
            }

            .alert-success p {
                color: #155724;
            }

        /* Warning Alert */
        .alert-warning {
            background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
            border: none;
            border-left: 4px solid #ffc107;
            border-radius: 8px;
            padding: 1rem 1.25rem;
            box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
        }

            .alert-warning i.fa-exclamation-triangle {
                color: #d39e00;
                animation: shake 0.5s ease-in-out;
            }

            .alert-warning .alert-heading {
                color: #856404;
                font-weight: 600;
            }

            .alert-warning p,
            .alert-warning ul li {
                color: #856404;
            }

            .alert-warning hr {
                border-color: rgba(133, 100, 4, 0.2);
            }

            .alert-warning ul {
                padding-left: 1.25rem;
            }

                .alert-warning ul li {
                    padding: 0.25rem 0;
                    position: relative;
                }

                    .alert-warning ul li::marker {
                        color: #d39e00;
                    }

        /* Application Details Card */
        .card {
            border: none;
            border-radius: 8px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }

        .card-header.bg-light {
            background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
            border-bottom: 1px solid #dee2e6;
            padding: 0.875rem 1.25rem;
        }

        .card-header h6 {
            color: #495057;
            font-weight: 600;
            display: flex;
            align-items: center;
        }

            .card-header h6 i {
                color: #6c757d;
            }

        .card-body {
            padding: 1.25rem;
            background-color: #ffffff;
        }

            .card-body .row {
                margin-bottom: 0.5rem;
            }

                .card-body .row:last-child {
                    margin-bottom: 0;
                }

            .card-body p {
                margin-bottom: 0.25rem;
            }

                .card-body p strong {
                    color: #495057;
                    font-size: 0.875rem;
                }

                .card-body p.text-muted {
                    color: #6c757d !important;
                    font-size: 0.95rem;
                }

        /* Badge Styles */
        .badge {
            padding: 0.5em 0.85em;
            font-weight: 500;
            font-size: 0.85rem;
            border-radius: 6px;
        }

            .badge.bg-success {
                background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
                box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
            }

            .badge.bg-danger {
                background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
                box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
            }

        /* Modal Footer */
        .modal-footer {
            background-color: #ffffff;
            border-top: 1px solid #e9ecef;
            padding: 1rem 1.5rem;
        }

            .modal-footer .btn-primary {
                background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
                border: none;
                padding: 0.625rem 1.5rem;
                font-weight: 500;
                border-radius: 6px;
                box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
                transition: all 0.3s ease;
            }

                .modal-footer .btn-primary:hover {
                    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
                    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
                    transform: translateY(-1px);
                }

                .modal-footer .btn-primary:active {
                    transform: translateY(0);
                }

        /* Animations */
        @keyframes scaleIn {
            0% {
                transform: scale(0);
                opacity: 0;
            }

            50% {
                transform: scale(1.2);
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }
        }

        @keyframes shake {
            0%, 100% {
                transform: translateX(0);
            }

            20%, 60% {
                transform: translateX(-3px);
            }

            40%, 80% {
                transform: translateX(3px);
            }
        }

        /* Responsive Adjustments */
        @media (max-width: 576px) {
            .modal-body {
                padding: 1rem;
            }

            .alert {
                flex-direction: column;
                text-align: center;
            }

                .alert i.fa-2x {
                    margin-bottom: 0.75rem;
                    margin-right: 0 !important;
                }

            .card-body .col-md-6 {
                margin-bottom: 1rem;
            }

                .card-body .col-md-6:last-child {
                    margin-bottom: 0;
                }

            .modal-footer {
                justify-content: center;
            }

                .modal-footer .btn-primary {
                    width: 100%;
                }
        }

        /* Dark Mode Support (Optional) */
        @media (prefers-color-scheme: dark) {
            .modal-content {
                background-color: #2d2d2d;
            }

            .modal-body {
                background-color: #1e1e1e;
            }

            .alert-success {
                background: linear-gradient(135deg, #1e3a24 0%, #1a3320 100%);
            }

                .alert-success .alert-heading,
                .alert-success p {
                    color: #a3d9a5;
                }

            .alert-warning {
                background: linear-gradient(135deg, #3d3419 0%, #352d15 100%);
            }

                .alert-warning .alert-heading,
                .alert-warning p,
                .alert-warning ul li {
                    color: #f0d77c;
                }

            .card {
                background-color: #2d2d2d;
            }

            .card-header.bg-light {
                background: linear-gradient(135deg, #3d3d3d 0%, #333333 100%) !important;
            }

            .card-header h6 {
                color: #e0e0e0;
            }

            .card-body {
                background-color: #2d2d2d;
            }

                .card-body p strong {
                    color: #e0e0e0;
                }

            .modal-footer {
                background-color: #2d2d2d;
                border-top-color: #404040;
            }
        }
    }
}