/* Стили для экрана информации о СТО */

.sto-info-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f9fafb;
    overflow-y: auto;
}

.sto-info-container {
    max-width: 384px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}

.sto-info-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.sto-info-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sto-info-back-btn {
    background: #fef3c7;
    color: #d97706;
    padding: 8px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sto-info-back-btn:hover {
    background: #fde68a;
}

.sto-info-main {
    padding: 16px 24px 80px 24px;
}

.sto-info-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sto-info-field {
    width: 100%;
}

.sto-info-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.sto-info-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.sto-info-input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.25);
}

.sto-info-input-readonly {
    background: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

.sto-info-textarea {
    resize: vertical;
    min-height: 80px;
    border-radius: 12px;
}

.sto-info-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.sto-info-logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sto-info-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.sto-info-logo-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sto-info-logo-input {
    display: none;
}

.sto-info-upload-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
}

.sto-info-upload-icon {
    background: #f3f4f6;
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sto-info-upload-svg {
    height: 24px;
    width: 24px;
}

.sto-info-upload-hint {
    font-size: 12px;
    color: #9ca3af;
}

/* Стили для графика работы */
.sto-schedule-section {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #f9fafb;
    margin: 16px 0;
}

.sto-schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sto-schedule-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.sto-weekends-btn {
    font-size: 12px;
    background: #f3f4f6;
    color: #374151;
    padding: 6px 12px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sto-weekends-btn:hover {
    background: #e5e7eb;
}

.sto-schedule-day {
    margin-bottom: 12px;
}

.sto-schedule-day:last-child {
    margin-bottom: 0;
}

.sto-schedule-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.sto-day-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sto-day-type {
    width: 128px;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sto-day-type:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.25);
}

.sto-time-input {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sto-time-input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.25);
}

.sto-time-separator {
    color: #9ca3af;
}

/* Стили для раздела услуг */
.sto-services-section {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #f9fafb;
    margin: 16px 0;
}

.sto-services-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.sto-services-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sto-services-info {
    flex: 1;
}

.sto-services-text {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 4px;
}

.sto-services-hint {
    font-size: 12px;
    color: #9ca3af;
}

.sto-manage-services-btn {
    margin-left: 16px;
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sto-manage-services-btn:hover {
    background: #2563eb;
}

/* Стили для кнопки сохранения */
.sto-save-section {
    padding-top: 16px;
}

.sto-save-btn {
    width: 100%;
    background: #fbbf24;
    color: #111827;
    font-weight: 700;
    padding: 16px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sto-save-btn:hover {
    background: #f59e0b;
}

.sto-save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sto-btn-text {
    display: inline;
}

.sto-btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.sto-btn-loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Скрытый элемент */
.sto-hidden {
    display: none !important;
}
