/* Контейнер */
.zopo-container {
    width: 100%;
    max-width: 100%;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Секция ввода */
.zopo-input-section {
    margin-bottom: 20px;
    text-align: center;
}

.zopo-date-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* Поля ввода */
.zopo-input {
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    background: white;
    padding: 12px 15px;
    font-size: 16px;
    width: 80px;
    transition: all 0.3s ease;
}

.zopo-input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.zopo-separator {
    font-size: 18px;
    font-weight: bold;
    color: #666;
}

/* Кнопки */
.zopo-btn {
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
}

.zopo-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.zopo-btn:active {
    transform: translateY(0);
}

/* Результат */
.zopo-result {
    margin: 20px 0;
}

.zopo-sign-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.zopo-sign-name {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: bold;
}

.zopo-sign-dates {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 15px;
    font-size: 14px;
}

.zopo-characteristics h4 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.zopo-characteristics p {
    color: #34495e;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

/* Кнопки поделиться */
.zopo-share-section {
    text-align: center;
    margin-top: 20px;
}

.zopo-share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.zopo-share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zopo-share-btn:hover {
    transform: scale(1.1);
    background: #2980b9;
}

/* Сообщение об ошибке */
.zopo-error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
    text-align: center;
    padding: 15px;
}

/* Уведомления */
.zopo-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100001;
    background: #4CAF50;
    color: white;
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-weight: 500;
    text-align: center;
}

/* Адаптивность */

/* Desktop */
@media (max-width: 1024px) {
    .zopo-container {
        padding: 15px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .zopo-sign-name {
        font-size: 22px;
    }
    
    .zopo-input {
        width: 70px;
        padding: 10px 12px;
    }
    
    .zopo-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .zopo-container {
        padding: 10px;
    }
    
    .zopo-date-inputs {
        gap: 5px;
    }
    
    .zopo-input {
        width: 60px;
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .zopo-sign-card {
        padding: 15px;
    }
    
    .zopo-sign-name {
        font-size: 20px;
    }
    
    .zopo-characteristics h4 {
        font-size: 16px;
    }
    
    .zopo-characteristics p {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .zopo-input {
        width: 55px;
        padding: 6px 8px;
    }
    
    .zopo-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .zopo-share-btn {
        width: 45px;
        height: 45px;
    }
}

/* Отключение масштапа на мобильных */
.zopo-input {
    font-size: 16px; /* Предотвращает масштабирование в iOS */
}