/* Chart Container */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    height: 320px;
    max-height: 400px;
}

@media (min-width: 768px) {
    .chart-container {
        height: 360px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Body Styles */
body {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Text Selection */
::selection {
    background-color: #0d9488;
    color: white;
}

::-moz-selection {
    background-color: #0d9488;
    color: white;
}

/* Smooth Transitions */
a, button {
    transition: all 0.2s ease-in-out;
}

/* Focus States */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Input Styles */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
}

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

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0d9488;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Profile Image Styles */
.profile-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 4px solid #ccfbf1;
    overflow: hidden;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.25);
}

/* Responsive Profile Image */
@media (max-width: 768px) {
    .profile-image {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }
}
