* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #dbe0e9;
    padding: 20px;
    min-height: 100vh;
    position: relative;
}

body::before {
    display: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.container.transparent {
    background-color: transparent;
    box-shadow: none;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #2980b9;
}

.hidden {
    display: none;
}

.result-item {
    margin: 10px 0;
    padding: 15px;
    border-radius: 4px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    input, 
    textarea,
    select {
        font-size: 16px !important; /* Previne zoom-ul pe iOS */
    }
}

.slider-container {
    position: relative;
    height: 12px;
    background: #f3f4f6;
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    margin: 1rem 0 1.5rem 0;
}

.slider-track {
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
}

.marker {
    position: absolute;
    top: 50%;
    width: 4px;
    height: 12px;
    background: #000;
    transform: translate(-50%, -50%);
    transition: left 0.5s ease;
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple:after {
    content: "";
    background: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(10, 10);
    transition: transform .5s, opacity 1s;
}

.ripple:active:after {
    transform: scale(0, 0);
    opacity: .2;
    transition: 0s;
}

.slider-container.inactive {
    opacity: 0.5;
    filter: blur(3px);
}

.slider-container.inactive .marker {
    display: none;
}

/* Loading overlay styles */
.loading-overlay {
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

/* Input și button styles */
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Animații */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-in-out;
} 