body {
    font-family: Arial, sans-serif;
    overflow-y: scroll;
    margin: 0;
    background: #b6b6b6;
    margin-top: 56px;
}

textarea.form-control {
    height: 300px !important;
}

.form-control, .new-emp-row input, .new-emp-row select, .employee-update-container select, .role-map-container select {
    background-color: rgb(255 255 255 / 60%) !important;
    color: #212529 !important;
    border-radius: 8px !important;
    height: 38px !important;
    resize: none;
}

h1 {
    text-align: center;
    color: #333;
}

h2 {
    margin-bottom: 20px;
    color: #333;
}

h5 {
    text-transform: capitalize;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type=file] {
    color: black;
}

input[type="email"],
input[type="text"],
input[type="password"],
input[type="file"],
input[type="number"],
select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 12px;
}

input[type="email"],
input[type="text"],
input[type="password"],
input[type="file"],
input[type="number"],
select {
    background-color: rgb(232 240 254);
    color: black;
}

a {
    color: unset;
    text-decoration: none;
}

    a:hover, .remember-me:hover {
        color: black;
        cursor: pointer;
    }

.mt-6 {
    min-height: calc(100vh - 56px - 56px);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-1 {
    flex: 1;
}

.fs-11px {
    font-size: 11px;
}

@keyframes popupAnimation {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#loading {
    position: fixed;
    display: none;
    align-items: center;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    justify-content: center;
    gap: 15px;
    font-size: 18px;
    z-index: 9999;
}

    #loading.show {
        display: flex;
    }

#backToTop {
    display: none; /* hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #3085d6;
    color: white;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
}

    #backToTop:hover {
        background-color: #2563eb;
        transform: translateY(-3px);
    }

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /*background: rgba(0, 0, 0, 0.95);
    color: #b2b2b2;*/
    background: rgba(255, 255, 255, 0.90);
    color: black;
}

/*.login-box {
    padding: 24px;
    width: 400px;
    background: rgba(90, 96, 139, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}*/

.loginout-box {
    padding: 24px;
    width: 400px;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    /* backdrop-filter: blur(10px); */
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.6);
}

.social-icon {
    max-height: 25px;
    padding: 3px
}

.social-button {
    background: rgb(232 240 254);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.3);
}

.terms {
    text-align: center;
    font-size: 11px;
    margin-top: 14px;
}

.or {
    text-align: center;
    font-size: 12px;
    margin: 12px 0;
    position: relative;
}

.loginoutlables {
    color: #717171;
}

.or::before, .or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.or::before {
    left: 0;
}

.or::after {
    right: 0;
}

.card {
    background: rgb(165 168 189 / 20%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#employeeUpdateForm .input-group {
    gap: 0 6px;
}

.department-select {
    height: 46px;
}

button.login-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    margin-top: 10px;
    font-size: 13px;
}

    button.login-btn:hover {
        background-color: #0056b3;
    }

.social-login {
    margin-top: 30px;
}

    .social-login h3 {
        margin-bottom: 10px;
    }

.new-employee-box {
    padding: 20px;
    text-align: center;
    margin: 0 auto;
    background: rgb(165 168 189 / 20%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.new-emp-input-box {
    display: flex;
    gap: 25px;
}

.new-emp-row {
    display: grid;
    width: 100%;
    gap: 0 25px;
    grid-template-columns: repeat(2, 1fr);
}

.new-emp-btns {
    display: flex;
    gap: 33px;
    justify-content: center;
}

button.new-emp-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 0.25rem;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
}

    button.new-emp-btn:hover {
        background-color: #0056b3;
    }

.change-role {
    padding: 0 10px;
}

.change-role-inner {
    display: flex;
    flex: 1;
}

.employee-search .form-control {
    border-radius: 8px 0 0 8px !important;
    height: 38px !important;
}

.role-map, .change-role {
    align-items: center;
    gap: 10px;
}

.role-map-container,
.detele-employee-container,
.employee-update-container {
    padding: 20px;
}

    .employee-update-container .card-body {
        grid-template-columns: repeat(2, 1fr);
    }

    .employee-update-container .alert, .role-map-container .alert {
        background: rgb(255 150 77 / 20%);
        border: 1px solid rgba(255, 150, 77, 0.2);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

.update-btn, .remove-btn {
    width: 150px;
    margin-bottom: 7px !important;
    margin: auto;
}

.social-container {
    display: flex;
    width: 100%;
}

.social-posts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 60%;
    padding: 15px 10px 0 0;
}

.social-media-posts-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 15px 0 0 10px;
    min-width: 0;
}

.social-media-post-card {
    border: none;
    border-radius: 10px;
    height: 270px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .social-media-post-card:hover {
        transform: translateY(-5px);
        cursor: pointer;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

.social-posts-container .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .social-posts-container .card:hover {
        transform: translateY(-5px);
        cursor: pointer;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

.social-posts-container .card-body {
    padding: 20px;
}

.social-posts-container .card-title {
    font-size: 1.5em;
    font-weight: 700;
}

.social-posts-container .card-text {
    color: #666;
    margin-bottom: 5px;
}

    .social-posts-container .card-text small {
        color: #999;
        font-size: 0.9em;
    }

.social-posts-container img.img-fluid {
    height: 300px;
    width: 100%;
    margin: 6px 0;
    object-fit: cover;
    border-radius: 10px;
    border: solid 1px #80808075;
}

.social-posts-container .post-meta-icons {
    display: flex;
    gap: 10px;
    font-size: 0.9em;
    color: #555;
    margin-top: 10px;
}

    .social-posts-container .post-meta-icons span, .social-posts-container .post-meta-icons i {
        cursor: pointer;
        transition: color 0.2s ease;
    }

        .social-posts-container .post-meta-icons span:hover {
            color: #007bff;
        }

.post-delete-span:hover {
    color: #ff2020 !important;
}

.payroll-container {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-indicator {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.step {
    padding: 10px;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

    .step.active {
        font-weight: bold;
        color: #4CAF50;
        opacity: 1;
    }

    .step .icon {
        font-size: 20px;
        display: block;
    }

    .step.active .icon {
        color: #4CAF50;
    }

.filter-section {
    display: flex;
    align-items: end;
    gap: 10px;
    margin-bottom: 20px;
}

.filter {
    flex: 1;
}

    .filter label {
        font-size: 14px;
        color: #333;
        margin-bottom: 5px;
        display: inline-block;
    }

.filter-input {
    width: 100%;
    padding: 8px;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    height: 42px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

    .filter-btn:hover {
        background-color: #45a049;
    }

.employee-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.employee-list th, .employee-list td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.employee-list th {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
}

.employee-checkbox {
    cursor: pointer;
}

.generate-section {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.generate-btn {
    padding: 12px 25px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .generate-btn:hover {
        background-color: #45a049;
    }

.nav-buttons {
    padding: 12px 25px;
    font-size: 16px;
    background-color: #393939;
    color: white;
    border: none;
    width: 120px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .nav-buttons:hover {
        background-color: #262525;
    }

    .nav-buttons:disabled {
        background-color: #ccc;
        color: #666;
        cursor: not-allowed;
        opacity: 0.6;
    }

.icon {
    margin-right: 5px;
    color: #4CAF50;
}

.form-group {
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.confirm-submit-section {
    gap: 40px;
    align-items: center;
    justify-content: space-evenly;
}

.credit {
    background: #00800015;
}

.debit {
    background: #ff000015;
}

.coming-soon-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    box-sizing: border-box;
    background: #ffffff;
    padding: 20px 40px;
    border-radius: 8px;
    flex-direction: column;
    display: flex;
    width: 350px;
    gap: 5px;
    height: 160px;
    justify-content: center;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    animation: popupAnimation 0.4s ease-out;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
}

    .close-btn:hover {
        color: #333;
    }

.popup-content h2 {
    color: #4a90e2;
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 0;
}

.popup-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.hover-blue:hover {
    color: #007bff;
}

.inner-container {
    width: 100%;
    min-height: calc(100vh - 56px - 56px);
    align-items: baseline;
    justify-content: center;
    display: flex;
}

.tab-toggle {
    display: inline-flex;
    /* background-color: #171717; */
    border-radius: 999px;
    padding: 4px;
    /* border: 1px solid rgba(255, 255, 255, 0.15); */
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.3);
    background: rgb(232 240 254);
    /* border-radius: 5px; */
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    /* backdrop-filter: blur(10px); */
}

    .tab-toggle a {
        padding: 6px 18px;
        border-radius: 999px;
        color: #797979 !important;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.2s ease;
    }

        .tab-toggle a.active {
            color: black !important;
            border: 1px solid rgba(255, 255, 255, 0.15);
            background: rgba(144, 184, 255, 0.2);
            backdrop-filter: blur(10px);
            box-shadow: 0 0px 1px rgba(0, 0, 0, 0.3);
        }

.tab-toggle-container {
    display: flex;
    justify-content: center;
}

.employee-card-container .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

    .employee-card-container .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

.employee-card-container .card-title {
    font-size: 1.2rem;
}

.employee-card-container .card-text {
    font-size: 0.9rem;
    color: #555;
}

.employee-card-container .employee-card {
    width: 100%;
}

.employee-card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-container {
    padding: 20px 40px;
    text-align: center;
    background: rgb(165 168 189 / 20%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

    .contact-container h2 {
        font-size: 2rem;
        color: #333;
        margin-bottom: 1rem;
    }

    .contact-container p {
        font-size: 1.1rem;
        color: #555;
        margin-bottom: 2rem;
    }

    .contact-container form .form-group {
        position: relative;
        margin-bottom: 1.3rem;
    }

    .contact-container input, .contact-container textarea {
        border: none;
        border-bottom: 2px solid #ddd;
        width: 100%;
        padding: 10px;
        font-size: 1rem;
        transition: border-color 0.3s;
        outline: none;
    }

        .contact-container input:focus, .contact-container textarea:focus {
            border-color: #007bff;
        }

    .contact-container .btn {
        background: #007bff;
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 1rem;
        border-radius: 8px;
        transition: background 0.3s ease;
    }

        .contact-container .btn:hover {
            background: #0056b3;
        }

    .contact-container .social-icons a {
        font-size: 1.5rem;
        margin: 0 10px;
        transition: color 0.3s;
    }

        .contact-container .social-icons a:hover {
            color: #0056b3;
        }

/* Special style for Sign In / Register */
#SignInButton {
    color: white !important; /* Ensure text stays white */
    padding: 6px 12px;
    border-radius: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    /* Hover effect */
    #SignInButton:hover {
        transform: translateY(-2px); /* Subtle lift */
    }
