/* EduGoo - Global Styles */

/* Mobile-first responsive layout */
html {
    background-color: #e5e7eb; /* Gray background for desktop */
    display: flex;
    justify-content: center;
}

body {
    max-width: 480px;
    width: 100%;
    min-height: 100vh;
    background-color: #f9fafb;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for desktop */
    overflow-x: hidden;
}

/* Constrain fixed elements to mobile width and center them */
nav.fixed,
.fixed.top-0,
.fixed.bottom-0 {
    max-width: 480px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
}

/* Constrain floating buttons to mobile width */
button.fixed {
    left: auto !important;
    right: calc(50% - 480px/2 + 1rem) !important;
}

@media (max-width: 480px) {
    nav.fixed,
    .fixed.top-0,
    .fixed.bottom-0 {
        left: 0 !important;
        transform: none !important;
    }
    
    button.fixed {
        right: 1rem !important;
    }
}

/* RemixIcon Fix */
:where([class^="ri-"])::before {
    content: "\f3c2";
}

/* Profile Page Styles */
.profile-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.switch {
    transition: all 0.3s ease;
}

.switch.active {
    background-color: #10b981;
}

.switch.active .switch-thumb {
    transform: translateX(20px);
}

.switch-thumb {
    transition: transform 0.3s ease;
}

.mentoring-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.timeline-item {
    transition: all 0.2s ease;
}

.timeline-item:hover {
    transform: translateY(-2px);
}

.education-item {
    border-left: 3px solid #e5e7eb;
    transition: all 0.3s ease;
}

.education-item.completed {
    border-left-color: #10b981;
}

.education-item.current {
    border-left-color: #2563eb;
}

/* Search Page Styles */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-track {
    background: #e2e8f0;
    height: 4px;
    border-radius: 2px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Plano Page Styles */
.progress-bar {
    background: linear-gradient(90deg, #2563eb 0%, #10b981 100%);
}

.timeline-line {
    background: linear-gradient(180deg, #e5e7eb 0%, #2563eb 50%, #e5e7eb 100%);
}

/* Mentoria Page Styles */
.mentor-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.chat-item:hover {
    background-color: #f8fafc;
}
