
.bmr-plugin-container {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: #1e293b;
    box-sizing: border-box;
}

.bmr-plugin-container *, .bmr-plugin-container *::before, .bmr-plugin-container *::after {
    box-sizing: border-box;
}

.bmr-plugin-header {
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}

.bmr-plugin-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.bmr-plugin-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #334155;
}

.bmr-plugin-input-wrapper {
    position: relative;
}

.bmr-plugin-input {
    width: 100%;
    padding: 10px 12px;
    padding-right: 40px; /* space for unit */
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.bmr-plugin-input:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.bmr-plugin-unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 14px;
    pointer-events: none;
}

.bmr-plugin-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bmr-plugin-radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    text-align: center;
}

.bmr-plugin-radio-input {
    display: none;
}

.bmr-plugin-radio-input:checked + .bmr-plugin-radio-label {
    border-color: #0d9488;
    background-color: #f0fdfa;
    color: #0d9488;
}

.bmr-plugin-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.bmr-plugin-tab {
    flex: 1;
    text-align: center;
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    border: none;
    background: transparent;
}

.bmr-plugin-tab.active {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    color: #0f172a;
}

.bmr-plugin-button {
    width: 100%;
    background-color: #0d9488;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bmr-plugin-button:hover {
    background-color: #0f766e;
}

.bmr-plugin-results {
    margin-top: 32px;
    animation: bmrFadeIn 0.5s ease-out;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 8px;
    padding: 24px;
}

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

.bmr-result-hero {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    color: #134e4a;
}

.bmr-result-value {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.bmr-result-unit {
    font-size: 18px;
    color: #5eead4;
    font-weight: 500;
    color: #115e59;
}

.bmr-tdee-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bmr-tdee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.bmr-tdee-label {
    font-weight: 600;
    color: #334155;
}

.bmr-tdee-desc {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.bmr-tdee-val {
    font-weight: 700;
    color: #0d9488;
    font-size: 18px;
}

.bmr-hidden {
    display: none;
}

/* Row for imperial height inputs */
.bmr-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bmr-formula-select {
    margin-top: 10px;
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.bmr-formula-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
    