/**
 * CSCM LinkedIn Button Styles
 * Custom styling for the CSCM LinkedIn button on the student dashboard
 */

/* CSCM LinkedIn Button Styles */

/* Navigation Button Styles */
.cscm-linkedin-nav-section {
    margin-top: 25px;
    padding: 15px 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.cscm-linkedin-nav-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0077b5 0%, #00a0dc 50%, #0077b5 100%);
}

.cscm-linkedin-nav-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cscm-linkedin-nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #0077b5 0%, #005885 50%, #0077b5 100%);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 6px rgba(0, 119, 181, 0.25);
    width: 100%;
    justify-content: center;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.cscm-linkedin-nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cscm-linkedin-nav-button:hover {
    background: linear-gradient(135deg, #005885 0%, #004066 50%, #005885 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 119, 181, 0.35);
    color: #ffffff !important;
    text-decoration: none;
}

.cscm-linkedin-nav-button:hover::before {
    left: 100%;
}

.cscm-linkedin-nav-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 119, 181, 0.3);
}

.cscm-linkedin-nav-button .linkedin-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Dashboard Button Styles (for backward compatibility) */
.cscm-linkedin-section {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cscm-linkedin-content {
    text-align: center;
}

.cscm-linkedin-content p {
    margin-bottom: 15px;
    color: #6c757d;
    font-size: 14px;
}

.cscm-linkedin-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 119, 181, 0.2);
}

.cscm-linkedin-button:hover {
    background: linear-gradient(135deg, #005885 0%, #004066 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 119, 181, 0.3);
    color: white;
    text-decoration: none;
}

.cscm-linkedin-button .linkedin-icon {
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cscm-linkedin-nav-button {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .cscm-linkedin-nav-section {
        margin-top: 20px;
        padding: 12px 10px;
    }
    
    .cscm-linkedin-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .cscm-linkedin-nav-section {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        border-color: #4a5568;
    }
    
    .cscm-linkedin-section {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .cscm-linkedin-content p {
        color: #a0aec0;
    }
} 