.elementor-16 .elementor-element.elementor-element-eecf0ec > .elementor-widget-container{padding:17px 17px 17px 17px;}.elementor-16 .elementor-element.elementor-element-eecf0ec{text-align:center;}.elementor-16 .elementor-element.elementor-element-eecf0ec .elementor-heading-title{font-size:27px;}.elementor-16 .elementor-element.elementor-element-91a93a9 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-16 .elementor-element.elementor-element-ecd80e7 .elementor-author-box__avatar img{width:200px;height:200px;border-radius:20px;}body.rtl .elementor-16 .elementor-element.elementor-element-ecd80e7.elementor-author-box--layout-image-left .elementor-author-box__avatar,
					 body:not(.rtl) .elementor-16 .elementor-element.elementor-element-ecd80e7:not(.elementor-author-box--layout-image-above) .elementor-author-box__avatar{margin-right:21px;margin-left:0;}body:not(.rtl) .elementor-16 .elementor-element.elementor-element-ecd80e7.elementor-author-box--layout-image-right .elementor-author-box__avatar,
					 body.rtl .elementor-16 .elementor-element.elementor-element-ecd80e7:not(.elementor-author-box--layout-image-above) .elementor-author-box__avatar{margin-left:21px;margin-right:0;}.elementor-16 .elementor-element.elementor-element-ecd80e7.elementor-author-box--layout-image-above .elementor-author-box__avatar{margin-bottom:21px;}/* Start custom CSS for html, class: .elementor-element-91a93a9 */:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --bg-color: #ffffff;
    --text-color: #212529;
    --border-color: #dee2e6;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #f8f9fa;
    --border-color: #495057;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.bmi-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.bmi-container {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
    width: 100%;
    max-width: 500px;
    transition: all 0.3s ease;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.theme-toggle {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.input-section {
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.input-row {
    display: flex;
    gap: 15px;
}

.input-row .input-group {
    flex: 1;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 107, 255, 0.2);
}

.input-with-unit {
    position: relative;
}

.input-with-unit .unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

.calculate-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    margin: 20px 0;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.calculate-btn:hover {
    background: #3a56d4;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.2rem;
}

.result-section {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.result-header h3 {
    color: var(--primary-color);
}

.timestamp {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.bmi-score-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 20px 0;
}

.bmi-gauge {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(
        #28a745 0% 20%,
        #ffc107 20% 40%,
        #fd7e14 40% 60%,
        #dc3545 60% 100%
    );
    position: relative;
}

.gauge-pointer {
    position: absolute;
    top: 10px;
    left: 50%;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg);
    width: 2px;
    height: 65px;
    background-color: var(--dark-color);
    transition: transform 1s ease;
}

.gauge-pointer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--dark-color);
}

.bmi-result {
    text-align: center;
}

.bmi-result .score {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.bmi-result .category {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px;
}

.bmi-details {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.detail-card {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(74, 107, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-icon {
    font-size: 1.5rem;
}

.detail-text {
    text-align: left;
}

.detail-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.detail-text strong {
    font-size: 1rem;
}

.ai-section {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 10px;
    text-align: left;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ai-header h3 {
    color: var(--primary-color);
}

.ai-loading {
    display: flex;
    gap: 5px;
}

.loading-dots {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    animation: bounce 1.4s infinite ease-in-out;
}

.loading-dots:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
}

.ai-content {
    line-height: 1.6;
    margin-bottom: 15px;
}

.ai-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.ai-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.ai-btn:hover {
    background-color: rgba(74, 107, 255, 0.2);
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: rgba(108, 117, 125, 0.1);
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: rgba(108, 117, 125, 0.2);
}

.history-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.close-btn {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

.history-list {
    margin-top: 20px;
}

.history-item {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: rgba(108, 117, 125, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-item-info {
    text-align: left;
}

.history-item-date {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.history-item-bmi {
    font-weight: bold;
    color: var(--primary-color);
}

.history-item-category {
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .bmi-container {
        padding: 15px;
    }
    
    .input-row {
        flex-direction: column;
        gap: 0;
    }
    
    .bmi-details {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .bmi-score-container {
        flex-direction: column;
    }
    
    .ai-actions {
        flex-direction: column;
    }
}/* End custom CSS */