html {
    margin: 0;
    padding: 0;
}

body {
    font-size: 100%;
    margin: 0;
    padding: 1.75em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

h1 {
    font-size: 1.75em;
    margin: 0 0 0.6em 0;
}

h2 {
    font-size: 1.25em;
    margin: 0 0 0.6em 0;
}

a {
    color: #2996cc;
}

    a:hover {
        text-decoration: none;
    }

p {
    line-height: 1.5em;
}

.small {
    color: #666;
    font-size: 0.875em;
}

.large {
    font-size: 1.25em;
}


label {
    font-weight: bold;
}

input[type="text"] {
    /*! margin: 0.5em 0 3em 0; */
    padding: 0.5em;
}

button#datepicker-but
button#datepicker-button {
    margin-bottom: 3em;
}

.flow-element {
    display: inline-block;
    margin-right: 3em;
    vertical-align: top;
}

    .flow-element:last-child {
        margin-right: 0;
    }

    .flow-element input {
        margin-top: 0;
    }

#container {
    min-height: 15em;
}


* {
    box-sizing: border-box;
}

.page-contain {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: #E7F3F1;
    border: 0.75em solid white;
    padding: 2em;
    font-family: "Open Sans", sans-serif;
}

.data-card {
    display: flex;
    flex-direction: column;
    max-width: 12.75em;
    min-height: 8.75em;
    overflow: hidden;
    border-radius: 0.5em;
    text-decoration: none;
    background: white;
    margin: 1em;
    padding: 2.75em 2.5em;
    box-shadow: 0 1.5em 2.5em -0.5em rgba(0, 0, 0, 0.1);
    transition: transform 0.45s ease, background 0.45s ease;
}

    .data-card h3 {
        color: #2E3C40;
        font-size: 3.5em;
        font-weight: 600;
        line-height: 1;
        padding-bottom: 0.5em;
        margin: 0 0 0.142857143em;
        border-bottom: 2px solid #753BBD;
        transition: color 0.45s ease, border 0.45s ease;
    }

    .data-card h4 {
        color: #627084;
        text-transform: uppercase;
        font-size: 1.125em;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0.1em;
        margin: 0 0 1.777777778em;
        transition: color 0.45s ease;
    }

    .data-card p {
        opacity: 0;
        color: #FFFFFF;
        font-weight: 600;
        line-height: 1.8;
        margin: 0 0 1.25em;
        transform: translateY(-1em);
        transition: opacity 0.45s ease, transform 0.5s ease;
    }

    .data-card .link-text {
        display: block;
        color: #753BBD;
        font-size: 1.125em;
        font-weight: 600;
        line-height: 1.2;
        margin: auto 0 0;
        transition: color 0.45s ease;
    }

        .data-card .link-text svg {
            margin-left: 0.5em;
            transition: transform 0.6s ease;
        }

            .data-card .link-text svg path {
                transition: fill 0.45s ease;
            }



/* Hide the default radio button */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: none;
}

    /* Styling the label to look like a modern radio button */
    input[type="radio"] + label {
        position: relative;
        padding-left: 25px;
        cursor: pointer;
        display: inline-block;
        color: white;
        font-size: 16px;
    }

        /* Before pseudo-element for custom circle */
        input[type="radio"] + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            border: 2px solid #9E9E9E;
            border-radius: 50%;
            background-color: white;
        }

    /* After pseudo-element for inner circle */
    input[type="radio"]:checked + label:after {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #007BFF;
        top: 50%;
        left: 4px;
        transform: translateY(-50%);
    }

    /* Change label color when selected */
    input[type="radio"]:checked + label {
        color: #007BFF;
    }


.blink-cell {
    animation: blinker 1s linear infinite;
    background-color: lightcoral;
}

@keyframes blinker {
    50% {
        opacity: 0.5;
    }
}

.modercard {
    border-radius: 50px;
    background: linear-gradient(315deg, #dddddd, #ffffff);
    box-shadow: -20px -20px 60px #d0d0d0, 20px 20px 60px #ffffff;
}


.employee-card {
    background-color: #2d2d2d;
    border-radius: 10px;
    padding: 2vw;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    max-width: 300px; /* Adjust card size */
    margin: auto;
}

    .employee-card.compact {
        max-width: 250px;
        margin: auto;
    }

    .employee-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }

.employee-img {
    width: 8vw; /* Adjust image size based on viewport width */
    height: 8vw; /* Adjust image size based on viewport width */
    border-radius: 50%;
    margin-bottom: 1vw;
    border: 2px solid #ffffff33;
}

.employee-details {
    color: #fff;
}

    .employee-details h4 {
        font-size: 1.2em; /* Relative size for better scalability */
        margin: 0;
        padding: 0;
        color: #b8faff;
    }

    .employee-details p {
        margin: 0.5vw 0;
        font-size: 0.85em; /* Relative size for better scalability */
        color: #ccc;
    }

.employee-card:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    transition: all 0.5s;
}

.employee-card:hover:before {
    transform: rotate(60deg);
    opacity: 1;
}

.employee-card-modern {
    background-color: #1c1c1e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    width: 250px; /* Fixed width */
    height: 450px; /* Adjusted height */
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

    .employee-card-modern:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    }

.employee-image-wrapper {
    overflow: hidden;
    border-bottom: 2px solid #2c2c2e;
    flex: 1;
    position: relative;
}

.custom-id-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
}

.employee-img-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.employee-details-modern {
    padding: 15px;
    color: #e5e5e7;
    background-color: #2c2c2e;
    flex-shrink: 0;
}

.employee-joined-date-modern {
    font-size: 0.85em;
    color: #ff3b30;
    margin-bottom: 5px;
}
.employee-id-modern {
    font-size: 1.2em;
    margin: 0;
    color: #ff3b30; /* Vibrant pink for pop */
    font-weight: 600; /* Slightly bold for emphasis */
    text-shadow: 0 0 8px rgba(255, 77, 136, 0.7); /* Glowing effect */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth hover animation */
    letter-spacing: 0.5px; /* Subtle spacing for modernity */
}

    .employee-id-modern:hover {
        color: #00ffcc; /* Bright teal on hover */
        transform: scale(1.05); /* Slight scale-up for interaction */
        text-shadow: 0 0 12px rgba(0, 255, 204, 0.9); /* Enhanced glow */
    }
.employee-name-modern {
    font-size: 1.2em;
    margin: 0;
    color: #ffffff;
}

.employee-company-modern,
.employee-contact-modern,
.employee-vehicle-modern {
    font-size: 0.9em;
    margin: 3px 0;
}

.download-btn-wrapper {
    text-align: center;
    padding: 10px;
    background-color: #1c1c1e;
    border-top: 1px solid #2c2c2e;
}

.download-btn {
    background-color: #ff3b30;
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .download-btn:hover {
        background-color: #ff5e50;
    }

.row2-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    max-width: 100%;
}

.data-card-v2 {
    background: linear-gradient(135deg, #282c34, #3e4451);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 180px;
    display: block;
    position: relative;
    overflow: hidden;
}

    .data-card-v2:hover {
        background: linear-gradient(135deg, #444b58, #5a6273);
        transform: translateY(-10px);
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    }

.card-content-v2 {
    position: relative;
    z-index: 2;
}

.futuristic-number-v2 {
    font-size: 3em;
    color: #61dafb;
    margin-bottom: 10px;
    font-weight: bold;
}

.label-v2 {
    color: #a9a9a9;
    font-weight: 300;
    margin-top: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-top: 1px solid #61dafb;
    padding-top: 10px;
}

.data-card-v2::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    z-index: 1;
    transition: all 0.5s ease;
}

.data-card-v2:hover::before {
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
}

.month-cards {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    flex-wrap: wrap;
}

.month-card {
    background: linear-gradient(145deg, #1e1e1e, #3d3d3d);
    border-radius: 15px;
    padding: 20px;
    width: 100px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    margin: 10px;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .month-card:hover {
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(0, 255, 255, 1), 0 0 50px rgba(0, 255, 255, 0.7);
    }

    .month-card:active {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(0, 255, 255, 1), 0 0 30px rgba(0, 255, 255, 0.5);
    }

    .month-card.green {
        background-color: green !important;
    }

    .month-card.red {
        background-color: red !important;
    }

.salary-amount {
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.salary-value {
    font-weight: bold;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');



.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}

.receipt-container {
    background-color: #fff;
    color: #333;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    text-align: center;
    margin-top: 50px;
}

.receipt-header {
    font-size: 24px;
    font-weight: bold;
    color: #6200ea;
    margin-bottom: 20px;
}

.receipt-details {
    text-align: left;
    margin-bottom: 15px;
}

.receipt-section {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .receipt-section .label {
        font-size: 12px;
        color: #757575;
        font-weight: bold;
        text-transform: uppercase;
    }

    .receipt-section .value {
        font-size: 16px;
        font-weight: 500;
        color: #333;
    }

.receipt-barcode {
    margin-top: 20px;
    text-align: center;
}

.barcode {
    background-color: #e0e0e0;
    height: 50px;
    width: 100%;
    margin-top: 10px;
}

.receipt-footer {
    font-size: 12px;
    color: #888;
    margin-top: 20px;
}

    .receipt-footer p {
        color: #6200ea;
    }
.additional-row-info {
    font-size: small;
    color: #333;
    background-color: #f9f9f9;
    padding: 5px;
}


.custom-id-label {
    display: inline-block;
    padding: 8px 15px;
    border: 2px solid #666666;
    border-radius: 20px;
    background-color: transparent;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    margin-top: 5px;
    text-align: center;
    width: auto;
    min-width: 100px;
}

    /* Optional: Hover effect */
    .custom-id-label:hover {
        background-color: #f5f5f5;
    }
/* Modern Card Styles with Enlarged Profile Picture */
.modern-card-fixed {
    background: linear-gradient(135deg, lightcoral, #1e293b);
    border-radius: 12px;
    width: 300px; /* Fixed width */
    height: 500px; /* Fixed height */
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #f8fafc;
    font-family: 'Arial', sans-serif;
    margin: 16px auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .modern-card-fixed:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

/* Header Section */
.modern-card-header {
    background: lightcoral;
    padding: 12px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modern-card-image-large {
    border-radius: 50%;
    width: 240px; /* Increased size */
    height: 240px; /* Increased size */
    object-fit: contain;
    border: 4px solid #f8fafc;
    background: white;
}

/* Body Section */
.modern-card-body {
    padding: 16px;
    text-align: center;
    flex-grow: 1;
}

.modern-card-id {
    color: lightcoral;
    font-weight: bold;
    margin: 4px 0;
}

.modern-card-name {
    font-size: 1.2rem;
    margin: 6px 0;
}

.modern-card-company,
.modern-card-contact,
.modern-card-vehicle,
.modern-card-joined {
    font-size: 0.9rem;
    margin: 4px 0;
}

/* Footer Section */
.modern-card-footer {
    background: #1e293b;
    padding: 12px;
    text-align: center;
}

.modern-card-button {
    background: lightcoral;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .modern-card-button:hover {
        background: #f08080; /* Slightly darker lightcoral on hover */
    }