/* Mass Converter Styles */
.mass-converter-wrapper {
    /*display: flex;
    justify-content: center;
    */
    margin: 30px 0;
}

.mass-converter-wrapper table {
    width: 60%;
	padding: 6px;
}


.mass-converter-wrapper input {
    padding: 4px;
	width: 100px;
	border-radius: 4px;
}


.mass-converter-wrapper select {
    padding: 4px;
	width: 150px;
	border-radius: 4px;
}

.mass-converter-container {
    /*max-width: 800px;*/
    width: 100%;
    background: #ffffff;
    border-radius: 15px;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

.mass-converter-container:hover {
    /*box-shadow: 0 15px 40px rgba(0,0,0,0.15);*/
}

.mass-converter-title {
    text-align: center;
    color: #2c3e50;
    padding: 25px 20px 10px;
    font-size: 2.2rem;
    margin: 0;
    line-height: 1.2;
}

.mass-converter-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.1rem;
    padding: 0 20px;
}

.converter-card {
    padding: 0 30px 30px;
}

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

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

.input-row label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 70px;
    font-size: 1.1rem;
}

.converter-input, .converter-select {
    /*padding: 14px;*/
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.converter-input {
    flex: 1;
    min-width: 150px;
    background: #f8f9fa;
}

.converter-select {
    width: 180px;
    background: #f8f9fa;
    cursor: pointer;
}

.swap-container {
    text-align: center;
    margin: 25px 0;
}

.swap-btnm {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.swap-btnm:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.converter-info {
    background: #e3f2fd;
    border-top: 3px solid #3498db;
    padding: 10px;
    margin: 0 0 40px 0;
}

.converter-info h3 {
    color: #3498db;
    margin-top: 0;
    margin-bottom: 15px;
}

.converter-info ul {
    padding-left: 20px;
    margin: 0;
}

.converter-info li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive styles */
@media (max-width: 768px) {
    .mass-converter-title {
        font-size: 1.8rem;
        padding: 20px 15px 5px;
    }
    
    .converter-card {
        padding: 0 20px 20px;
    }
    
    .input-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .converter-input, .converter-select {
        width: 100%;
    }
    
    .swap-btn {
        width: 100%;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .mass-converter-wrapper {
        padding: 10px;
    }
    
    .mass-converter-title {
        font-size: 1.6rem;
    }
    
    .mass-converter-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .converter-input, .converter-select {
        padding: 12px;
    }
}