/*Default CSS*/
a {
    text-decoration: none;
    color: #212529;
}

a:hover {
    text-decoration: none;
}

.sidebar {
    width: 300px !important;
    padding: 0 3px;
}

@media (max-width: 767px) {
    .sidebar {
        width: 100px !important;
        padding: 0 !important;
    }
}

.sidebar .nav-item .nav-link {
    width: auto !important;
}

#userDropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    padding: 5px 10px;
    gap: 3px;
}

#userDropdown .img-profile {
    margin-bottom: 0;
}

/* Setting */
.setting-fieldset {
    border: 1px solid #DBDEE0 !important;
    padding: 15px !important;
    margin: 0 0 25px 0 !important;
    box-shadow: 0 0 0 0 #000;
}

.setting-legend {
    font-size: 1.1em !important;
    font-weight: bold !important;
    text-align: left !important;
    width: auto;
    color: #428BCA;
    padding: 5px 15px;
    border: 1px solid #DBDEE0 !important;
    margin: 0;
}

.setting-logo {
    width: 120px;
    height: 60px;
}

/* Profile */
.img-profile {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
}

.profile-list {
    font-size: 15px;
    padding-left: 0;
    list-style: none;
    color: #616670;
}

.img-profile-list {
    width: 60px;
    height: 60px;
    border: 2px solid #ddd;
}


/*profile sidebar tab link menu*/
.side-tab-menu ul {
    margin: 0;
    padding: 0;
}

.side-tab-menu ul li {
    display: block;
    float: none;
    font-size: 14px;
    margin-bottom: 0;
    border-bottom: 1px solid #f3f3f7;
    margin-right: 0;
}

.side-tab-menu ul li a {
    display: block;
    color: #9499a3;
    padding: 10px 15px 10px 30px;
}

.side-tab-menu ul li.active a {
    background: #f0f0f3;
    border-right: 4px solid #4e73df;
    color: #4e73df;
    border-bottom: none;
}


/*sidebar tab*/
.custom-select2 input.select2-search__field:focus {
    outline: none !important;
}

.custom-select2 span.select2-selection.select2-selection--single {
    outline: none !important;
}

.custom-select2 .select2-container .select2-selection--single {
    height: 38px !important;
    padding: 5px;
}

.custom-select2 .select2-container--default .select2-selection--single {
    border: 1px solid #d1d3e2 !important;
}

.custom-select2 .select2-selection__arrow {
    margin-top: 5px;
}


/*Invoice css*/
.main-invoice {
    width: 100% !important;
    color: #555 !important;
}

.main-invoice table {
    color: #555 !important;
}

@media print {

    a {
        text-decoration: none !important;
    }

    body {
        background: white;
        color: #555;
    }

    table, td, th {
        color: #555;
    }

    .main-invoice {
        width: 100% !important;
        font-weight: normal;
    }

    tr.my-red {
        background-color: red !important;
    }

    div.invoice-notes {
        background-color: rgba(0, 0, 0, .05) !important;
    }

}

#card-element {
    height: 2.6em;
    padding-top: .7em;
}

.single-payment-gateway {
    cursor: pointer;
}

.single-payment-gateway img {
    width: 100%;
    height: 100px;
}

#canvas {
    height: 320px !important;
}

/* Book Module CSS */
.gallery-multiple-book {
    width: 100%;
}

.gallery-single-book {
    position: relative;
    float: left;
}

.gallery-single-book-delete {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 999;
    padding: 0 3px;
    font-size: 12px;
}

.gallery-single-book-image {
    width: 140px;
    margin: 3px 2px;
    height: 100px;
}


/*Text Editor*/
.note-editor.note-frame {
    border: 1px solid #d1d3e2 !important;
}


/*Select 2 CSS*/
.select2-container {
    width: 100% !important;
    display: block;
}

.custom-select2.is-invalid .select2-selection.select2-selection--single {
    border-color: #e74a3b !important;
}

.react-datepicker-wrapper {
    width: 100%;
}

/*Custom Nav Tabs*/
.custom-nav-tabs {
    background-color: rgb(239, 239, 239);
}

.custom-nav-tabs .nav-link {
    border: 0;
    margin-bottom: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.custom-nav-tabs button:focus {
    border: 0 !important;
    outline: 0 !important;
}

/*Profile Change*/
.profile_view_item {
    width: 50%;
    float: left;
    margin-bottom: 5px;
    font-size: 15px;
}

.profile_view_item p {
    margin-bottom: 5px;
}

/*Ebook*/
.full-width-item {
    width: 100%;
    float: left;
    margin-bottom: 5px;
    font-size: 15px;
}

/* domain setting */
.domain-settings .list-group-item .badge {
    margin-top: 3px
}

.domain-settings .list-group-item p {
    margin-bottom: 0 !important;
}

/*Custom pricing CSS*/
.pricing .card {
    border-radius: 1rem;
    transition: all 0.2s;
    box-shadow: 0 0.1rem 0.2rem 0 rgba(0, 0, 0, 0.1);
}

.pricing hr {
    margin: 1.5rem 0;
}

.pricing .card-title {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    letter-spacing: .1rem;
    font-weight: bold;
}

.pricing .card-price {
    font-size: 3rem;
    margin: 0;
}

.pricing .card-price .period {
    font-size: 0.8rem;
}

.pricing ul li {
    margin-bottom: 1rem;
}

.pricing .text-muted {
    opacity: 0.7;
}

.pricing .btn {
    transition: all 0.2s;
}

/* Hover Effects on Card */
@media (min-width: 992px) {
    .pricing .card:hover {
        margin-top: -.25rem;
        margin-bottom: .25rem;
        box-shadow: 0 0.1rem .2rem 0 rgba(0, 0, 0, 0.2);
    }

    .pricing .card:hover .btn {
        opacity: 1;
    }
}

/*Payment Options*/
.payment-options {
    display: block;
    justify-content: space-between;
}

.payment-options img {
    width: 60px;
    height: 40px;
    cursor: pointer;
    border-radius: 5px;
    border: 2px solid #ddd;
}

.payment-options img.active {
    border: 2px solid blue;
}

/*Logo*/
.green-app-logo {
    width: 350px;
    height: 70px;
}

/*Report CSS*/
.app-report-heading address {
    line-height: 18px;
    margin-top: 10px;
    font-size: 16px;
    color: #858796;
}

.app-report-heading address a {
    color: #858796;
}

.app-report-logo {
    width: 200px;
}

/* Step Progress Component */
.step-progress {
    position: relative;
    padding: 40px 0 20px;
    background: transparent;
}

/* Progress Bar Line */
.step-progress-bar {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.step-progress-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    transition: width 0.5s ease-in-out;
}

/* Steps Container */
.step-progress-items {
    position: relative;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

/* Individual Step Item */
.step-progress-item {
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

/* Step Circle */
.step-progress-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Active Step */
.step-progress-icon.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.step-progress-icon.active .step-progress-number {
    color: #0c0c0c;
    font-weight: 700;
}

/* Completed Step */
.step-progress-icon.completed {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.step-progress-icon.completed .step-progress-number {
    color: #4e73df;
}

/* Step Number */
.step-progress-number {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    color: #0c0c0c;
}

/* Step Label */
.step-progress-label {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

/* Active Step Label */
.step-progress-item.active .step-progress-label {
    color: #fff;
    font-weight: 700;
}

/* Animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.step-progress-icon.active {
    animation: pulse 2s infinite;
}

/* Check Icon */
.step-progress-icon.completed::after {
    content: '✓';
    color: #4e73df;
    font-size: 16px;
    font-weight: bold;
}
