/* Контейнер */
.wc-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0 auto;
    padding: 20px;
}

.wc-converter {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.wc-container[data-theme="dark"] .wc-converter {
    background: #333;
    color: white;
}

/* Поля ввода */
.wc-input-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.wc-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    box-sizing: border-box;
    text-align: center;
}

.wc-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    box-sizing: border-box;
}

.wc-input:focus,
.wc-select:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Результаты */
.wc-results-section {
    margin-bottom: 20px;
}

.wc-main-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #4CAF50;
}

.wc-other-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 16px;
}

/* Кнопки копирования */
.wc-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-copy-btn:hover {
    background: #f0f0f0;
}

.wc-copy-btn.wc-copied {
    background: #4CAF50;
}

.wc-check-icon {
    display: none;
}

.wc-copy-btn.wc-copied .wc-copy-icon {
    display: none;
}

.wc-copy-btn.wc-copied .wc-check-icon {
    display: inline;
}

/* Кнопки поделиться */
.wc-share-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.wc-share-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-share-btn:hover {
    transform: scale(1.1);
}

.wc-share-btn.wc-vk { background: #4a76a8; color: white; }
.wc-share-btn.wc-tg { background: #0088cc; color: white; }
.wc-share-btn.wc-wa { background: #25D366; color: white; }
.wc-share-btn.wc-link { background: #666; color: white; }

/* Уведомления */
.wc-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100001;
    background: #4CAF50;
    color: white;
    padding: 25px 35px;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wc-notification.wc-show {
    opacity: 1;
    visibility: visible;
}

.wc-notification-content {
    font-weight: bold;
    font-size: 18px;
}

/* Адаптивные breakpoints */

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

/* Tablet */
@media (max-width: 768px) {
    .wc-input-section {
        flex-direction: column;
    }
    
    .wc-main-result {
        font-size: 18px;
        padding: 15px;
    }
    
    .wc-other-result {
        font-size: 14px;
        padding: 12px;
    }
    
    .wc-share-btn {
        width: 55px;
        height: 55px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .wc-container {
        padding: 10px;
    }
    
    .wc-converter {
        padding: 15px;
    }
    
    .wc-input,
    .wc-select {
        padding: 12px;
        font-size: 16px;
    }
    
    .wc-main-result {
        font-size: 16px;
        padding: 12px;
    }
    
    .wc-other-result {
        font-size: 13px;
        padding: 10px;
    }
    
    .wc-share-btn {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    
    .wc-notification {
        padding: 20px 30px;
    }
    
    .wc-notification-content {
        font-size: 16px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .wc-container {
        padding: 5px;
    }
    
    .wc-converter {
        padding: 10px;
    }
    
    .wc-input,
    .wc-select {
        padding: 10px;
        font-size: 14px;
    }
    
    .wc-share-section {
        gap: 10px;
    }
    
    .wc-share-btn {
        width: 45px;
        height: 45px;
        font-size: 12px;
    }
}

/* Изоляция стилей */
.wc-converter * {
    box-sizing: border-box;
}

.wc-converter input,
.wc-converter select,
.wc-converter button {
    font-family: inherit;
}

/* Темная тема */
.wc-container[data-theme="dark"] .wc-input,
.wc-container[data-theme="dark"] .wc-select,
.wc-container[data-theme="dark"] .wc-main-result,
.wc-container[data-theme="dark"] .wc-other-result {
    background: #444;
    color: white;
    border-color: #666;
}

.wc-container[data-theme="dark"] .wc-input:focus,
.wc-container[data-theme="dark"] .wc-select:focus {
    border-color: #4CAF50;
}

.wc-container[data-theme="dark"] .wc-copy-btn:hover {
    background: #555;
}