/**
 * Zmanim Widget Styles
 */

.zmanim-widget-container {
    direction: rtl;
    text-align: right;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.zmanim-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
    width: 100%;
}

.zmanim-date {
    text-align: center;
    margin-bottom: 15px;
    padding: 8px;
    background: #fff;
    border-radius: 3px;
    font-size: 14px;
    color: #666;
}

.zmanim-city-selector {
    margin-bottom: 15px;
    padding: 10px;
    background: #fff;
    border-radius: 3px;
}

.zmanim-city-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.zmanim-city-selector select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    background: #fff;
}

.zmanim-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.zmanim-widget-container .zmanim-parsha {
    margin-bottom: 15px;
    padding: 10px;
    background: #fff;
    border-radius: 3px;
    text-align: center;
}

.zmanim-widget-container .zmanim-parsha span {
    font-size: 16px;
    font-weight: bold;
    color: #4a90e2;
}

.zmanim-times {
    margin-bottom: 10px;
}

.zmanim-time-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    margin-bottom: 5px;
    background: #fff;
    border-radius: 3px;
    border-right: 2px solid #e0e0e0;
    transition: background-color 0.2s;
}

.zmanim-time-item:hover {
    background: #f5f5f5;
}

.zmanim-time-item .zmanim-label {
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.zmanim-time-item .zmanim-time {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    font-family: "Courier New", monospace;
}

.zmanim-city {
    text-align: center;
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.zmanim-city small {
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

/* רבנו תם section */
.zmanim-rt-section {
    margin-bottom: 15px;
    padding: 12px;
    background: #f0f8ff;
    border-radius: 6px;
    border-right: 3px solid #4a90e2;
}

.zmanim-rt-title {
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
}

.zmanim-rt-times {
    background: #fff;
    border-radius: 4px;
    padding: 8px;
}

.zmanim-credit {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.zmanim-credit small {
    color: #999;
    font-size: 11px;
}

.zmanim-credit a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.zmanim-credit a:hover {
    color: #357abd;
    text-decoration: underline;
}

/* Shabbat times row */
.zmanim-shabbat-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.zmanim-shabbat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 3px;
    border-right: 2px solid #e0e0e0;
    transition: background-color 0.2s;
}

.zmanim-shabbat-item:hover {
    background: #f5f5f5;
}

.zmanim-shabbat-label {
    font-weight: 500;
    color: #555;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: center;
}

.zmanim-shabbat-time {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    font-family: "Courier New", monospace;
    text-align: center;
}

/* יציאת שבת ר"ת - separate row */
.zmanim-rt-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 3px;
    border-right: 2px solid #e0e0e0;
    transition: background-color 0.2s;
}

.zmanim-rt-row:hover {
    background: #f5f5f5;
}

.zmanim-rt-label {
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.zmanim-rt-time {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    font-family: "Courier New", monospace;
}


/* Responsive */
@media (max-width: 768px) {
    .zmanim-widget-container {
        padding: 10px;
    }
    
    .zmanim-time-item {
        padding: 6px 8px;
        font-size: 13px;
    }
}
