/* קובץ: m_style-forms.css */
/* תיאור: סגנונות לטפסים ולוח שנה בגרסת המובייל */

.login-container {
    max-width: 90%;
    margin: 15px auto;
    padding: 15px;
    background: #ffffff;
    border-radius: 12px;
    text-align: center;
}

.user-info p {
    font-weight: 500;
    color: #fff;
    background: linear-gradient(90deg, #2c3e50, #4a6278);
    padding: 10px 15px;
    border-radius: 20px;
    margin-bottom: 12px;
    font-size: 16px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    text-align: center;
    color: #34495e;
    font-size: 16px;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: none;
    border-radius: 8px;
    background: #f5f5f5;
    text-align: center;
    color: #2c3e50;
    font-size: 16px;
}

input:focus, select:focus {
    outline: none;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
}

.days-input-container {
    margin-bottom: 12px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    gap: 8px;
    margin-bottom: 20px;
}

.checkbox-container input {
    width: 18px;
    height: 18px;
    accent-color: #3498db;
}

.calendar-option {
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    gap: 8px;
    margin-bottom: 12px;
    margin-top: 15px;
}

.calendar-option input {
    width: 18px;
    height: 18px;
    accent-color: #3498db;
}

.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
}

.btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f6391);
}

.logout-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.logout-btn:hover {
    background: linear-gradient(135deg, #c0392b, #962d22);
}

.menu-btn {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

.menu-btn:hover {
    background: linear-gradient(135deg, #7f8c8d, #6c757d);
}

.result-section {
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
}

#resultContainer {
    margin-top: 8px;
    font-weight: 500;
    font-size: 14px;
}

.error {
    color: #e74c3c;
    text-align: center;
    margin-top: 5px;
    font-weight: 500;
    background: rgba(231, 76, 60, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.date-picker {
    position: relative;
    display: inline-block;
    width: 100%;
}

.calendar {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    width: 100%;
    min-width: 280px;
}

.calendar.active {
    display: block;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.month-year {
    font-weight: 500;
    color: #2c3e50;
    font-size: 14px;
}

.calendar button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #3498db;
}

.calendar button:hover {
    color: #2980b9;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.day {
    padding: 6px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 14px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day:hover {
    background: rgba(52, 152, 219, 0.2);
}

.day.current {
    background: #3498db;
    color: #fff;
}

.day.selected {
    background: #2c3e50;
    color: #fff;
}

.day.other-month {
    color: #bdc3c7;
}

.day.recess-day {
    background: #e74c3c;
    color: #fff;
}

.day.saturday, .day.friday {
    background: #8e44ad;
    color: #fff;
}

.day.holiday-day {
    background: #f39c12;
    color: #fff;
}

.holiday-label {
    font-size: 0.6em;
    color: #2c3e50;
    position: absolute;
    bottom: -10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.calendar-legend {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    font-size: 0.8em;
    color: #2c3e50;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-color.recess {
    background: #e74c3c;
}

.legend-color.holiday {
    background: #f39c12;
}

.legend-color.friday-saturday {
    background: #8e44ad;
}

.reset-date {
    display: block;
    margin: 8px auto 0;
    padding: 8px 12px;
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.reset-date:hover {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

/* קובץ: m_style-forms.css */