.time-converter-wrapper {
    font-family: Arial, sans-serif;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.time-converter * {
    box-sizing: border-box;
}

.input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.time-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #007cba;
    border-radius: 5px;
    font-size: 16px;
    text-align: right;
}

.unit-select {
    padding: 12px;
    border: 2px solid #007cba;
    border-radius: 5px;
    font-size: 16px;
    background: white;
}

.conversion-arrow {
    text-align: center;
    font-size: 24px;
    margin: 15px 0;
    color: #007cba;
}

.result-section {
    margin-bottom: 20px;
}

.main-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #007cba;
}

.result-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.result-unit {
    font-size: 18px;
    color: #666;
}

.copy-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

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

.copy-btn.copied {
    border-color: #28a745;
    background: #d4edda;
}

.copied-icon {
    display: none;
}

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

.copy-btn.copied .copied-icon {
    display: block;
}

.other-results h4 {
    margin-bottom: 10px;
    color: #333;
}

.other-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.other-result-value {
    font-family: monospace;
}

.other-result-copy {
    background: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 2px 6px;
    cursor: pointer;
    font-size: 12px;
}

.share-section {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

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

.share-btn.vk { background: #4a76a8; }
.share-btn.tg { background: #0088cc; }
.share-btn.wa { background: #25d366; }
.share-btn.link { background: #6c757d; }

.copy-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    transition: transform 0.3s;
    z-index: 999999;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.copy-notification.show {
    transform: translateX(-50%) translateY(0);
}

/* Адаптивность */
@media (max-width: 768px) {
    .time-converter-wrapper {
        margin: 10px 0;
        padding: 15px;
    }
    
    .input-section {
        flex-direction: column;
    }
    
    .time-input, .unit-select {
        width: 100%;
    }
    
    .main-result {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .share-section {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .result-value {
        font-size: 20px;
    }
    
    .result-unit {
        font-size: 16px;
    }
    
    .share-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .copy-notification {
        top: 10px;
        padding: 12px 20px;
        font-size: 14px;
        max-width: 90%;
        text-align: center;
    }
}