/* Calorie Calculator Specific Styles */


.tool-page {
    padding-top: 0;
}

.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--text-gray);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-purple);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--border-color);
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 600;
}

.tool-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c06c84 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.tool-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.tool-icon-large {
    font-size: 72px;
    margin-bottom: 20px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

.tool-header h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
}

.tool-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 25px;
    line-height: 1.6;
}

.tool-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 16px;
}

.meta-separator {
    opacity: 0.5;
}

.tool-content {
    padding: 60px 20px;
    background: #f8f9fa;
}

.calculator-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Quick Guide */
.quick-guide {
    background: linear-gradient(135deg, #ffe0ec 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.quick-guide h3 {
    font-size: 24px;
    font-weight: 800;
    color: #ff6b9d;
    margin-bottom: 20px;
}

.guide-steps {
    display: grid;
    gap: 15px;
}

.guide-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-number {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b9d 0%, #c06c84 100%);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 18px;
}

.step-text {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Calculator Section */
.calculator-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* Mode Tabs */
.mode-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.mode-tab {
    flex: 1;
    min-width: 150px;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.mode-tab:hover {
    border-color: #ff6b9d;
    color: #ff6b9d;
}

.mode-tab.active {
    background: linear-gradient(135deg, #ff6b9d 0%, #c06c84 100%);
    color: white;
    border-color: transparent;
}

/* Calc Modes */
.calc-mode {
    display: none;
}

.calc-mode.active {
    display: block;
}

.calc-mode h2 {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
}

.mode-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff6b9d;
}

/* Input Grid */
.pregnancy-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.input-group input,
.input-group select {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}

/* Calculate Button */
.calc-btn {
    padding: 18px 35px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c06c84 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.calc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

.calc-btn:active {
    transform: translateY(-1px);
}

.calc-btn span {
    font-size: 20px;
}

/* Result Section */
.result-section {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #ffe0ec 0%, #ffffff 100%);
    border-radius: 20px;
    border: 3px solid #ff6b9d;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.result-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #ff6b9d;
}

.clear-btn {
    padding: 10px 25px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.clear-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

/* Pregnancy Hero Result */
.pregnancy-hero-result {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.hero-baby-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-due-date {
    font-size: 48px;
    font-weight: 900;
    color: #ff6b9d;
    margin-bottom: 10px;
}

.hero-label {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.hero-current-week {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c06c84 100%);
    color: white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
}

/* Pregnancy Stats Grid */
.pregnancy-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.pregnancy-stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid #ffe0ec;
    transition: all 0.3s;
}

.pregnancy-stat-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b9d;
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 24px;
    font-weight: 900;
    color: #ff6b9d;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

/* Trimester Progress */
.trimester-progress {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.trimester-progress h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ff6b9d;
    margin-bottom: 20px;
}

.trimester-bars {
    display: grid;
    gap: 15px;
}

.trimester-bar-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trimester-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trimester-name {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.trimester-weeks {
    font-size: 12px;
    color: #666;
}

.trimester-bar-bg {
    height: 12px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.trimester-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b9d 0%, #c06c84 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.trimester-bar-item.active .trimester-name {
    color: #ff6b9d;
}

/* Baby Development */
.baby-development {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.baby-development h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ff6b9d;
    margin-bottom: 15px;
}

.baby-development p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.development-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.development-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.development-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b9d;
    font-weight: 900;
    font-size: 18px;
}

/* Important Dates */
.important-dates {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.important-dates h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ff6b9d;
    margin-bottom: 20px;
}

.dates-grid {
    display: grid;
    gap: 15px;
}

.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #ffe0ec;
    border-radius: 10px;
    border-left: 4px solid #ff6b9d;
}

.date-label {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.date-value {
    font-weight: 600;
    font-size: 14px;
    color: #ff6b9d;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    flex: 1;
    min-width: 150px;
    padding: 15px 25px;
    background: white;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-btn:hover {
    border-color: #ff6b9d;
    color: #ff6b9d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.2);
}

.action-btn span {
    font-size: 20px;
}

/* Info Cards Section */
.info-cards-section {
    margin-top: 40px;
}

.info-cards-section h3 {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid #ffe0ec;
    text-align: center;
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b9d;
}

.info-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ff6b9d;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* SEO Content */
.seo-content {
    padding: 80px 20px;
    background: white;
}

.content-article {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-article h2 {
    font-size: 32px;
    font-weight: 800;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-article h2:first-child {
    margin-top: 0;
}

.content-article h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.content-article p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 16px;
}

.content-article ul {
    margin-bottom: 25px;
    padding-left: 30px;
    color: var(--text-gray);
}

.content-article li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.content-article strong {
    color: var(--text-dark);
    font-weight: 700;
}

.related-tools {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.related-tools h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.related-tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
}

.related-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #43e97b;
}

.related-tool-card .tool-icon {
    font-size: 42px;
}

.related-tool-card .tool-name {
    font-weight: 700;
    color: var(--text-dark);
}


/* Responsive Design */
@media (max-width: 768px) {
    .tool-header h1 {
        font-size: 32px;
    }
    
    .tool-subtitle {
        font-size: 16px;
    }
    
    .calculator-section {
        padding: 25px;
    }
    
    .mode-tabs {
        flex-direction: column;
    }
    
    .mode-tab {
        width: 100%;
    }
    
    .pregnancy-input-grid {
        grid-template-columns: 1fr;
    }
    
    .pregnancy-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
    
    .content-article h2 {
        font-size: 26px;
    }
    
    .content-article h3 {
        font-size: 20px;
    }
    
    .related-tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tool-header {
        padding: 40px 20px;
    }
    
    .tool-header h1 {
        font-size: 26px;
    }
    
    .tool-icon-large {
        font-size: 56px;
    }
    
    .quick-guide {
        padding: 20px;
    }
    
    .guide-step {
        flex-direction: column;
        text-align: center;
    }
    
    .calculator-section {
        padding: 20px;
    }
    
    .calc-btn {
        max-width: 100%;
    }
    
    .hero-due-date {
        font-size: 36px;
    }
    
    .pregnancy-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .tool-header,
    .breadcrumb,
    .quick-guide,
    .mode-tabs,
    .action-buttons,
    .info-cards-section,
    .seo-content,
    .tool-disclaimer-section {
        display: none !important;
    }
    
    .result-section {
        border: 1px solid #333;
        box-shadow: none;
    }
}

.tool-page {
    padding-top: 0;
}

.tool-header {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.tool-icon-large {
    font-size: 72px;
    margin-bottom: 20px;
    animation: rotate 4s ease-in-out infinite;
}

@keyframes rotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-15deg) scale(1.1); }
    75% { transform: rotate(15deg) scale(1.1); }
}

/* Quick Guide */
.quick-guide {
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.quick-guide h3 {
    font-size: 24px;
    font-weight: 800;
    color: #56ab2f;
    margin-bottom: 20px;
}

/* Calculator Section */
.calculator-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.calculator-section h2 {
    font-size: 26px;
    font-weight: 800;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* Calorie Input Section */
.calorie-input-section {
    max-width: 700px;
    margin: 0 auto;
}

.input-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.input-group input,
.input-group select {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #56ab2f;
    box-shadow: 0 0 0 4px rgba(86, 171, 47, 0.1);
}

/* Gender Buttons */
.gender-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gender-btn {
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gender-btn:hover {
    border-color: #56ab2f;
    color: #56ab2f;
}

.gender-btn.active {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    color: white;
    border-color: transparent;
}

.gender-icon {
    font-size: 24px;
}

/* Unit Toggle */
.unit-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.unit-btn {
    padding: 12px 30px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.unit-btn:hover {
    border-color: #56ab2f;
    color: #56ab2f;
}

.unit-btn.active {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    color: white;
    border-color: transparent;
}

/* Calculate Button */
.calc-btn {
    padding: 18px 35px;
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 350px;
    margin: 30px auto 0;
}

.calc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(86, 171, 47, 0.4);
}

.calc-btn span {
    font-size: 20px;
}

/* Result Section */
.result-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
    border-radius: 20px;
    border: 3px solid #56ab2f;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.result-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #56ab2f;
}

.clear-btn {
    padding: 10px 25px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.clear-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

/* Calorie Hero Result */
.calorie-hero-result {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.hero-calorie-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.hero-calorie-number {
    font-size: 64px;
    font-weight: 900;
    color: #56ab2f;
    margin-bottom: 10px;
}

.hero-calorie-label {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.hero-goal-badge {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    color: white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
}

/* Calorie Breakdown */
.calorie-breakdown {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.calorie-breakdown h3 {
    font-size: 20px;
    font-weight: 800;
    color: #56ab2f;
    margin-bottom: 20px;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.breakdown-card {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.breakdown-card:hover {
    border-color: #56ab2f;
    transform: translateY(-5px);
}

.breakdown-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.breakdown-value {
    font-size: 32px;
    font-weight: 900;
    color: #56ab2f;
    margin-bottom: 5px;
}

.breakdown-label {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

.breakdown-desc {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* Macro Calculator */
.macro-calculator {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.macro-calculator h3 {
    font-size: 20px;
    font-weight: 800;
    color: #56ab2f;
    margin-bottom: 20px;
}

.macro-grid {
    display: grid;
    gap: 20px;
}

.macro-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid;
}

.macro-item.protein {
    border-left-color: #e74c3c;
}

.macro-item.carbs {
    border-left-color: #3498db;
}

.macro-item.fats {
    border-left-color: #f39c12;
}

.macro-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.macro-icon {
    font-size: 28px;
}

.macro-bar-container {
    flex: 1;
}

.macro-bar-bg {
    height: 12px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.macro-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.macro-bar-fill.protein {
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
}

.macro-bar-fill.carbs {
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
}

.macro-bar-fill.fats {
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
}

.macro-values {
    text-align: right;
}

.macro-grams {
    font-size: 24px;
    font-weight: 900;
    color: #333;
}

.macro-calories {
    font-size: 12px;
    color: #666;
}

.macro-percent {
    font-size: 14px;
    font-weight: 700;
    color: #56ab2f;
}

/* Meal Plan Suggestion */
.meal-plan-suggestion {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.meal-plan-suggestion h3 {
    font-size: 20px;
    font-weight: 800;
    color: #56ab2f;
    margin-bottom: 20px;
}

.meal-grid {
    display: grid;
    gap: 15px;
}

.meal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #56ab2f;
}

.meal-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meal-icon {
    font-size: 32px;
}

.meal-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
}

.meal-time {
    font-size: 12px;
    color: #666;
}

.meal-calories {
    font-size: 20px;
    font-weight: 900;
    color: #56ab2f;
}

/* Nutrition Tips */
.nutrition-tips {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.nutrition-tips h3 {
    font-size: 20px;
    font-weight: 800;
    color: #56ab2f;
    margin-bottom: 20px;
}

.tips-grid {
    display: grid;
    gap: 15px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f0fff4;
    border-radius: 10px;
    border-left: 4px solid #56ab2f;
}

.tip-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.tip-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.tip-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Info Cards */
.info-cards-section {
    margin-top: 40px;
}

.info-card:hover {
    border-color: #56ab2f;
}

.info-card h4 {
    color: #56ab2f;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    flex: 1;
    min-width: 150px;
    padding: 15px 25px;
    background: white;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-btn:hover {
    border-color: #56ab2f;
    color: #56ab2f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(86, 171, 47, 0.2);
}

.action-btn span {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tool-header h1 {
        font-size: 32px;
    }
    
    .calculator-section {
        padding: 25px;
    }
    
    .input-row {
        grid-template-columns: 1fr;
    }
    
    .gender-buttons {
        grid-template-columns: 1fr;
    }
    
    .unit-toggle {
        flex-direction: column;
    }
    
    .unit-btn {
        width: 100%;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
    }
    
    .macro-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .macro-values {
        text-align: center;
    }
    
    .meal-item {
        flex-direction: column;
        text-align: center;
    }
    
    .meal-info {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tool-header {
        padding: 40px 20px;
    }
    
    .tool-header h1 {
        font-size: 26px;
    }
    
    .tool-icon-large {
        font-size: 56px;
    }
    
    .calculator-section {
        padding: 20px;
    }
    
    .calc-btn {
        max-width: 100%;
    }
    
    .hero-calorie-number {
        font-size: 48px;
    }
}