.adattarhely-atvalto-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.adattarhely-atvalto-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
}

.calculator-form {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.input-group, .unit-group, .result-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label, .unit-group label, .result-group label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.input-group input {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.unit-group select {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.unit-group select:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.convert-button {
    background: linear-gradient(135deg, #6c5ce7, #5f3dc4);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.convert-button:hover {
    background: linear-gradient(135deg, #5f3dc4, #4c2f9e);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.convert-button:active {
    transform: translateY(0);
}

.result-display {
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #333;
    min-height: 20px;
    transition: all 0.3s ease;
}

.result-animation {
    background: #f3f4ff;
    border-color: #6c5ce7;
    transform: scale(1.02);
}

.calculator-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #6c5ce7;
}

.calculator-info h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.calculator-info h4 {
    color: #555;
    margin: 15px 0 10px 0;
    font-size: 16px;
}

.calculator-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.calculator-info ul {
    color: #666;
    line-height: 1.6;
    padding-left: 20px;
}

.calculator-info li {
    margin-bottom: 8px;
}

/* Responsive design */
@media (max-width: 768px) {
    .adattarhely-atvalto-container {
        margin: 10px;
        padding: 15px;
    }
    
    .adattarhely-atvalto-container h2 {
        font-size: 20px;
    }
    
    .convert-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Loading state */
.convert-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Error state */
.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/* Success state */
.input-success {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1) !important;
}

/* Unit-specific styling */
.unit-group select option[value*="b"] {
    color: #6c5ce7;
}

.unit-group select option[value*="B"] {
    color: #00b894;
}

/* Hover effects for better UX */
.unit-group select:hover {
    border-color: #6c5ce7;
}

.input-group input:hover {
    border-color: #6c5ce7;
}

/* Focus states for accessibility */
.convert-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.3);
}

/* Animation for smooth transitions */
.adattarhely-atvalto-container * {
    transition: all 0.3s ease;
}

/* Print styles */
@media print {
    .adattarhely-atvalto-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .convert-button {
        display: none;
    }
} 