.mcp-wrapper {
display: flex;
justify-content: center;
padding: 20px 10px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.mcp-card {
width: 100%;
max-width: 640px;
background: #ffffff;
border-radius: 20px;
box-shadow: 0 10px 40px rgba(20, 30, 60, 0.08);
padding: 32px 28px;
border: 1px solid #eef1f6;
transition: box-shadow 0.3s ease;
}
.mcp-card:hover {
box-shadow: 0 16px 50px rgba(20, 30, 60, 0.12);
}
.mcp-header {
text-align: center;
margin-bottom: 24px;
}
.mcp-title {
font-size: 26px;
font-weight: 800;
margin: 0 0 8px;
background: linear-gradient(135deg, #16a085, #2ecc71);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.mcp-subtitle {
color: #667085;
font-size: 14.5px;
margin: 0;
}
.mcp-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;
margin-bottom: 20px;
}
.mcp-field {
display: flex;
flex-direction: column;
gap: 6px;
}
.mcp-field label {
font-size: 13px;
font-weight: 600;
color: #344054;
}
.mcp-field input,
.mcp-field select {
padding: 11px 12px;
border-radius: 10px;
border: 1.5px solid #e1e5ee;
font-size: 14.5px;
background: #fafbfc;
transition: border-color 0.2s, box-shadow 0.2s;
color: #1a1f36;
}
.mcp-field input:focus,
.mcp-field select:focus {
outline: none;
border-color: #2ecc71;
box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
background: #fff;
}
.mcp-toggle {
display: flex;
background: #f2f4f8;
border-radius: 10px;
padding: 4px;
gap: 4px;
}
.mcp-toggle-btn {
flex: 1;
padding: 9px 0;
border: none;
background: transparent;
border-radius: 8px;
cursor: pointer;
font-size: 13.5px;
font-weight: 600;
color: #667085;
transition: all 0.2s ease;
}
.mcp-toggle-btn.active {
background: #fff;
color: #16a085;
box-shadow: 0 2px 6px rgba(20, 30, 60, 0.1);
}
.mcp-submit-btn {
width: 100%;
padding: 15px;
border: none;
border-radius: 12px;
background: linear-gradient(135deg, #16a085, #2ecc71);
color: #fff;
font-size: 16px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: transform 0.15s ease, box-shadow 0.2s ease;
box-shadow: 0 6px 18px rgba(46, 204, 113, 0.35);
}
.mcp-submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 24px rgba(46, 204, 113, 0.45);
}
.mcp-submit-btn:active {
transform: translateY(0);
}
.mcp-results {
margin-top: 28px;
border-top: 1px solid #eef1f6;
padding-top: 24px;
animation: mcpFadeIn 0.5s ease;
}
@keyframes mcpFadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.mcp-results-summary {
display: flex;
gap: 10px;
margin-bottom: 24px;
}
.mcp-stat {
flex: 1;
text-align: center;
padding: 14px 8px;
border-radius: 12px;
background: #f7f9fb;
}
.mcp-stat-highlight {
background: linear-gradient(135deg, #16a085, #2ecc71);
}
.mcp-stat-highlight .mcp-stat-value,
.mcp-stat-highlight .mcp-stat-label {
color: #fff;
}
.mcp-stat-value {
display: block;
font-size: 22px;
font-weight: 800;
color: #1a1f36;
}
.mcp-stat-label {
font-size: 12px;
color: #8792a2;
margin-top: 2px;
}
.mcp-chart-row {
display: flex;
align-items: center;
gap: 24px;
flex-wrap: wrap;
justify-content: center;
}
.mcp-chart-container {
flex-shrink: 0;
}
.mcp-macro-list {
display: flex;
flex-direction: column;
gap: 14px;
flex: 1;
min-width: 180px;
}
.mcp-macro-item {
display: flex;
align-items: center;
gap: 10px;
font-size: 14.5px;
color: #344054;
}
.mcp-dot {
width: 12px;
height: 12px;
border-radius: 50%;
flex-shrink: 0;
}
.mcp-protein .mcp-dot { background: #16a085; }
.mcp-carbs .mcp-dot { background: #f0a500; }
.mcp-fat .mcp-dot { background: #e74c3c; }
.mcp-macro-sub {
font-size: 12px;
color: #8792a2;
}
.mcp-secondary-btn {
margin-top: 22px;
width: 100%;
padding: 11px;
border-radius: 10px;
border: 1.5px solid #e1e5ee;
background: #fff;
color: #344054;
font-weight: 600;
cursor: pointer;
transition: background 0.2s;
}
.mcp-secondary-btn:hover {
background: #f7f9fb;
}
@media (max-width: 480px) {
.mcp-grid { grid-template-columns: 1fr; }
.mcp-card { padding: 24px 18px; }
}