/* Main container */
.htc-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header */
.htc-header {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
}

.htc-header h2 {
    margin: 0;
    font-size: 28px;
    color: #3498db;
}

.htc-header p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #7f8c8d;
}

/* Form styles */
.htc-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.htc-form-group {
    margin-bottom: 15px;
}

.htc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #34495e;
}

.htc-form-group input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.htc-form-group input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Buttons */
.htc-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.htc-button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.htc-button i {
    font-size: 14px;
}

.htc-calculate {
    background-color: #2ecc71;
    color: white;
}

.htc-calculate:hover {
    background-color: #27ae60;
}

.htc-reset {
    background-color: #e74c3c;
    color: white;
}

.htc-reset:hover {
    background-color: #c0392b;
}

.htc-copy {
    background-color: #3498db;
    color: white;
}

.htc-copy:hover {
    background-color: #2980b9;
}

/* Results */
.htc-results {
    margin-top: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: none;
}

.htc-result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.htc-result-item:last-child {
    border-bottom: none;
}

.htc-result-label {
    font-weight: 600;
    color: #34495e;
}

.htc-result-label i {
    margin-right: 8px;
    color: #3498db;
}

.htc-result-value {
    font-weight: 700;
    color: #2c3e50;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .htc-buttons {
        flex-direction: column;
    }
    
    .htc-button {
        width: 100%;
    }
}