/* Area Conversion Simple Styles */

.buttonar { 
    font-family: inherit;
    font-weight: 400;
    font-size: 15px;
    font-size: 0.9375rem;
    text-transform: uppercase;
}

.acs-area-converter {
    /*display: flex;
    justify-content: center;*/
    padding: 1px;
}


.acs-area-converter table {
    width: 70%;
	padding: 6px;
}


.acs-area-converter input {
    padding: 4px;
	width: 100px;
	    border-radius: 4px;
}


.acs-area-converter select {
    padding: 4px;
	width: 160px;
	    border-radius: 4px;
}

.acs-container {
    background-color: white;
    border-radius: 16px;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
    width: 100%;
    max-width: 500px;
    padding: 10px;
    transition: all 0.3s ease;
}

.acs-header {
    text-align: center;
    margin-bottom: 30px;
}

.acs-header h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.acs-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

.acs-input-group {
    margin-bottom: 25px;
}

.acs-input-group label {
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: 500;
}

.acs-input-group input,
.acs-conversion-section select {
    width: -webkit-fill-available;
	/*width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background-color: #f8f9fa;
    transition: all 0.2s;
	*/
}

.acs-input-group input:focus,
.acs-conversion-section select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.acs-conversion-section {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.acs-conversion-section > div {
    flex: 1;
}

.acs-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 24px;
}

.acs-button-group {
    display: flex;
    gap: 15px;
    margin: 30px 0 20px;
}

.acs-button-group button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.acs-convert-btn {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
}

.acs-convert-btn:hover {
    background: linear-gradient(to right, #2980b9, #2573a7);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.acs-reset-btn {
    background-color: #999;
    color: white;
}

.acs-reset-btn:hover {
    background: linear-gradient(to right, #888888, #777777);
    /*transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);*/
}

.acs-result-container {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-top: 25px;
    display: none;
}

.acs-result-container.show {
    display: block;
    animation: acs-fadeIn 0.5s ease;
}

@keyframes acs-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.acs-result-container h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.acs-result-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2980b9;
    margin: 10px 0;
}

.acs-result-units {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.acs-error {
    color: #e74c3c;
    background-color: #fdecea;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    display: none;
}

.acs-error.show {
    display: block;
}

/* Responsive styles */
@media (max-width: 600px) {
    .acs-container {
        padding: 20px;
    }
    
    .acs-header h1 {
        font-size: 1.8rem;
    }
    
    .acs-conversion-section {
        flex-direction: column;
    }
    
    .acs-arrow {
        transform: rotate(90deg);
        padding: 5px 0;
    }
    
    .acs-button-group {
        flex-direction: column;
    }
}