/* Enhanced UI styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f3f7ff;
}

.u-cas-list {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.u-cas-list:hover{
    border-top: none;
}
.hover-animation:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-grad {
    background-image: linear-gradient(90deg, #1150B2 0%, #5694F7 100%);
    padding: 10px 20px;
    text-align: center;
    transition: 0.5s;
    color: white;
    border-radius: 50px;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
}

.btn-grad:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(142, 84, 233, 0.4);
}

.btn-grad.disabled {
    background-image: linear-gradient(to right, #b0b0b0 0%, #d0d0d0 100%);
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.completed {
    background: #15d569;
    font-size: 12px;
    color: #fff;
    border-radius: 26px;
    padding: 0 15px;
    display: inline-block;
}

.progressed {
    background: #157bd5;
    font-size: 12px;
    color: #fff;
    border-radius: 26px;
    padding: 0 15px;
    display: inline-block;
}

.not-available {
    background: #d55415;
    font-size: 12px;
    color: #fff;
    border-radius: 26px;
    padding: 0 15px;
    display: inline-block;
}

/* Practice Module Styles */
.practice-module {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.practice-module:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.practice-module:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-image: linear-gradient(180deg, #1150B2 0%, #5694F7 100%);
}

.practice-module-content {
    flex: 1;
    padding-right: 20px;
}

.practice-module-content h4 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 20px;
}

.practice-module-content p {
    color: #666;
    margin-bottom: 0;
    font-size: 14px;
}

.practice-module .btn-grad {
    white-space: nowrap;
}

.practice-module.disabled {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.practice-module.disabled:after {
    content: 'Complete General & Financial Details first';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1150B2;
    font-weight: 500;
    border-radius: 10px;
}

/* Verification warning styles */
.verification-warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.verification-warning i {
    color: #ffc107;
    font-size: 24px;
    margin-right: 15px;
}

.verification-warning-text {
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .u-cas-box {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .head-title {
        font-size: 32px !important;
        margin-top: 30px !important;
    }
    
    .verification-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .verification-warning .btn-grad {
        margin-top: 10px;
    }
    
    .practice-module {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .practice-module-content {
        padding-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .u-cas-box {
        grid-template-columns: 1fr !important;
    }

    .u-cas-list {
        padding: 15px !important;
    }

    .in--icon h2 {
        font-size: 18px !important;
        min-height: auto;
    }

    .u-cas-list p {
        min-height: auto;
    }

    .verification-warning h4 {
        font-size: 18px;
        text-align: left;
        font-weight: 600;
    }

    .verification-warning p {
        font-size: 14px;
        line-height: 20px;
        text-align: left;
    }

    .verification-warning p button {
        text-align: left;
        font-size: 14px;
    }

    .verification-warning {
        align-items: start;
    }

    .verification-warning .btn-grad {
        margin-left: 32px;
        margin-top: 10px;
        font-size: 14px;
    }
    
    .practice-module:before {
        width: 100%;
        height: 4px;
    }
}

.program-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
    /* z-index: 999999; */
}

.program-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.program-card h6 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.program-card .program-name {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.program-card .country-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 15px;
    background-color: #e9ecef;
    color: #495057;
    display: inline-block;
}

.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-backdrop.fade.show {
    z-index: 9999;
}

div#programSelectionModal {
    z-index: 99999;
}


#my-conversations{
    border: none;
}
