/* Custom CSS overrides for TECH6SENSE */

/* Reduce top padding of page banner wrapper */
.rbt-page-banner-wrapper {
    padding: 30px 0px 235px !important;
}

@media only screen and (max-width: 575px) {
    .rbt-page-banner-wrapper {
        padding: 20px 0px 180px !important;
    }
}

/* Password criteria tooltip styles */
.password-info-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    cursor: help;
}

.password-info-tooltip .tooltip-icon {
    color: #007bff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.password-info-tooltip:hover .tooltip-icon {
    color: #0056b3;
}

.password-info-tooltip .tooltip-content {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2c3e50;
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    text-align: left;
}

.password-info-tooltip .tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #2c3e50 transparent transparent transparent;
}

.password-info-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Responsive tooltip */
@media only screen and (max-width: 768px) {
    .password-info-tooltip .tooltip-content {
        white-space: normal;
        width: 240px;
        font-size: 12px;
        padding: 10px 12px;
        left: -50px;
        transform: translateX(0);
    }
    
    .password-info-tooltip:hover .tooltip-content {
        transform: translateX(0) translateY(-5px);
    }
    
    .password-info-tooltip .tooltip-content::after {
        left: 60px;
    }
}

@media only screen and (max-width: 575px) {
    .password-info-tooltip .tooltip-content {
        width: 200px;
        font-size: 11px;
        padding: 8px 10px;
        left: -40px;
    }
    
    .password-info-tooltip .tooltip-content::after {
        left: 50px;
    }
}

/* Navigation active state styles */
.nav-item.active-page a {
    pointer-events: none;
    cursor: default;
    opacity: 0.7;
}

.rbt-dashboard-sidebar .rbt-default-sidebar-wrapper .rbt-default-sidebar .rbt-default-sidebar-list ul li.active-page a {
    color: var(--color-primary) !important;
    background-color: rgba(var(--color-primary-rgba), 0.1);
}

/* Profile Completion Circular Progress */
.profile-completion-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circular-progress {
    position: relative;
    display: inline-block;
}

.progress-circle {
    position: relative;
    display: inline-block;
}

.progress-ring {
    transform: rotate(-90deg);
    transition: stroke-dashoffset 0.6s ease-in-out;
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.6s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
}



.profile-completion-wrapper small {
    font-size: 10px;
    margin-top: 4px;
    white-space: nowrap;
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
    .profile-completion-wrapper {
        margin-right: 15px !important;
    }
    
    .progress-ring {
        width: 50px;
        height: 50px;
    }
    
    .progress-ring circle {
        r: 20;
        cx: 25;
        cy: 25;
    }
    
    .progress-text {
        font-size: 10px;
    }
    
    .profile-completion-wrapper small {
        font-size: 9px;
    }
}

@media only screen and (max-width: 575px) {
    .tutor-btn {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .profile-completion-wrapper {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }
}

/* Alert notification styles */
.alert.fade {
    transition: opacity 0.3s ease-in-out;
}

.alert.fade:not(.show) {
    opacity: 0;
}