.upload-card {
        border: 2px solid var(--Primary);  
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: #f8f9fa;
    }

    .upload-card:hover {
        background-color: #e9ecef;
    }

    .upload-card i {
        font-size: 40px;
        color: var(--Primary);
    }

    .upload-card input[type="file"] {
        /*display: none;*/
    }

    .payslip-box {
        border: 2px solid var(--Primary);
        border-radius: 10px;
        padding: 10px;
        background-color: #f8f9fa;
        text-align: center;
        cursor: pointer;
    }

    .payslip-box input {
        display: flex;
    }

    .upload-label {
        font-size: 16px;
        font-weight: bold;
        display: block;
        margin-top: 10px;
        cursor: pointer;
        color: var(--Primary);
    }
    .save-btn {
        display: block;
        width: 200px;
        margin: 30px auto 0;
        padding: 12px;
        background-color: var(--Primary);
        color: white;
        font-size: 18px;
        font-weight: bold;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .save-btn:hover {
        background-color: #CCCCFF;
    }
    .text-danger {
    color: red;
    font-size: 14px;
    display: block;
    margin-top: 5px;
    }
    .alert {
        padding: 10px;
        margin-bottom: 10px;
        border-radius: 5px;
    }
    .alert-danger {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }
    .signature-container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        border: 2px solid #000;
        background-color: #fff;
        padding: 10px;
        border-radius: 10px;
        margin-top: 10px;
        width: 100%;
        max-width: 600px;
    }

    #signature-pad {
        width: 100%;
        height: 250px;
    }

    .button-group-left {
        display: flex;
        justify-content: flex-start;
        gap: 15px;
        margin-top: 15px;
    }

    .btn-lg {
        font-size: 1.2rem;
        padding: 12px 24px;
    }
    .shadow-card {
        border: none;
        border-radius: 10px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        background-color: #ffffff;
        text-decoration: none;
        color: inherit; /* Keeps text color unchanged */
        display: block; /* Ensures the whole card is clickable */
    }

    .shadow-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    }

    .shadow-card .icon {
        background: rgba(0, 123, 255, 0.1);
        border-radius: 50%;
        padding: 15px;
        display: inline-block;
    }

    .tile-cards {
        background-color: #f8f9fa;
        padding: 2rem 0;
    }

    .card-link {
        text-decoration: none; /* Removes link underline */
        color: inherit; /* Keeps the text color the same */
        display: block; /* Ensures the whole card is clickable */
    }
    .disabled-card {
    pointer-events: none; /* Prevents clicking */
    opacity: 0.5; /* Makes it look disabled */
    cursor: not-allowed;
}
canvas {
        width: 100%;
        height: 250px;
        border: 1px solid #000;
        border-radius: 5px;
    }
    .round-card {
    width: 150px;
    height: 150px;
    background: #FFF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    margin: 5px;
    padding: 5px;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}
.round-card_sub {
    width: 120px;
    height: 120px;
    background: #FFF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    margin: 30px 35px 0px 0px;
    padding: 5px;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}

.round-card:hover {
    background: #FAF9F6;
    transform: scale(1.05);
}

/* Hidden sub-cards initially */
.extra-cards {
    width: 150px;
    height: 150px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* Show sub-cards with slide effect */
.show {
    opacity: 1;
    transform: translateX(0);
}

/* Move Sale & Purchase card when sub-cards appear */
.shift-right {
    margin-left: 140px;
    transition: margin 0.3s ease-in-out;
}
.form-group {
        display: flex;
        align-items: center;
        margin-bottom: 8px; /* Minimized space between rows */
    }

    .form-group label {
        flex: 1; /* Label takes equal space */
        font-weight: 500;
        margin-right: 10px;
    }

    .form-group .form-control {
        flex: 1.5; /* Adjust input box width */
        max-width: 320px; /* Limit input width */
    }

    .form-group .btn-group {
        flex: 1;
        white-space: nowrap;
    }

    .modal-lg {
        max-width: 1100px; /* Increase modal width */
    }
    .stepper {
        font-size: 16px;
        font-weight: 400;
    }

    .stepper svg {
        margin: 0 5px;
    }
    .pad{
        padding: 20px;
    }