/* Base body styling for font and background */
body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f0f9ff;
}
/* Custom styling for the range input (slider) */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    background: linear-gradient(to right, #a78bfa, #6366f1);
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #6366f1;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
input[type="range"]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #6366f1;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
/* Style for the select dropdown */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="%236b7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l4 4 4-4"></path></svg>');
    background-repeat: no-repeat;
    background-position: left 12px top 50%;
    background-size: 16px;
    padding-right: 40px;
    padding-left: 12px;
}
/* Custom styling for the fancy subject boxes */
.fancy-subject-box {
    background-image: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-right: 5px solid #0ea5e9;
}

.fancy-subject-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15), 0 6px 15px rgba(0, 0, 0, 0.1);
}

.study-table th, .study-table td {
    border: 1px solid #e5e7eb;
}

/* New style for the days slider container */
.days-slider-container {
    background: #ffffff;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #8b5cf6; /* purple-500 */
    transition: all 0.3s ease;
}

/* Styles for the remove button */
.subject-box {
    position: relative; /* This is crucial for positioning the delete button */
}

.remove-subject-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #ef4444; /* red-500 */
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px; /* full rounded */
    font-size: 0.875rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.remove-subject-btn:hover {
    background-color: #dc2626; /* red-600 */
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Style for the save button */
.save-plan-btn {
    background-color: #10b981; /* green-500 */
    color: white;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease-in-out;
    border: none;
    cursor: pointer;
}
.save-plan-btn:hover {
    background-color: #059669; /* green-600 */
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
