/* Repository Status Icon Fix
 * Ensures lock/unlock icons are fully visible and properly styled
 */

/* Base styling for repo status indicators */
.repo-status {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    overflow: visible !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Ensure the icon is properly centered and sized */
.repo-status i {
    display: block;
    font-size: 14px;
    line-height: 1;
}

/* Public repo status */
.repo-status.public {
    background-color: rgba(0, 255, 50, 0.7);
    border: 1px solid #00ff33;
    box-shadow: 0 0 10px rgba(0, 255, 50, 0.5);
}

/* Private repo status */
.repo-status.private {
    background-color: rgba(255, 0, 85, 0.7);
    border: 1px solid #ff0055;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

/* Hover effect */
.repo-status:hover {
    transform: scale(1.1);
}

/* Fix positioning in the carousel on all pages */
.projects-page .repo-status {
    right: 15px !important; /* Force correct positioning */
}

/* Fix for z-index issues */
.project-card {
    position: relative;
}

.project-screenshot {
    position: relative;
    overflow: visible; /* Allow the repo status to be fully visible */
}

/* Adjust the repo status position for different screen sizes */
@media screen and (max-width: 768px) {
    .repo-status {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .repo-status {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
