.m2f-app-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f1f3f4;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #202124;
}

.m2f-header {
    text-align: center;
    margin-bottom: 30px;
}

.m2f-header h2 {
    font-size: 32px !important;
    color: #202124 !important;
    margin-bottom: 10px !important;
    font-weight: 700 !important;
}

.m2f-header p {
    color: #5f6368;
    font-size: 16px;
}

.m2f-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    border: 3px solid #27ae60;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.m2f-flex-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.m2f-input-group {
    flex: 1;
}

.m2f-input-group label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: #3c4043 !important;
}

.m2f-input-group input {
    width: 100% !important;
    height: 55px !important;
    font-size: 24px !important;
    font-weight: bold !important;
    border: 2px solid #27ae60 !important;
    border-radius: 8px !important;
    padding: 0 15px !important;
    background-color: #ffffff !important;
    color: #000000 !important;
}

.m2f-equals {
    font-size: 35px;
    color: #70757a;
    padding-bottom: 5px;
}

.m2f-result-box {
    margin-top: 25px;
    background-color: #f8f9fa;
    padding: 20px;
    border-left: 6px solid #27ae60;
    border-radius: 4px;
}

.m2f-result-box p {
    margin: 0 !important;
    font-size: 15px;
    color: #5f6368;
    font-weight: 600;
}

#m2f-feetInchesOutput {
    font-size: 30px;
    color: #27ae60;
    font-weight: bold;
}

.m2f-table-section h3 {
    margin-bottom: 15px !important;
    font-size: 22px !important;
    color: #202124 !important;
}

.m2f-data-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.m2f-data-table th {
    background-color: #27ae60;
    color: #ffffff;
    padding: 12px;
    text-align: left;
}

.m2f-data-table td {
    padding: 12px;
    border-bottom: 1px solid #eeeeee;
    color: #000;
}

@media (max-width: 768px) {
    .m2f-flex-row { flex-direction: column; align-items: stretch; }
    .m2f-equals { text-align: center; transform: rotate(90deg); margin: 5px 0; }
}