/* İdeal Kilo Hesaplama - Modern CSS */

.ikh-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.ikh-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ikh-header {
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.ikh-title {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ikh-subtitle {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
    font-weight: 400;
}

.ikh-form {
    padding: 30px;
}

.ikh-form-group {
    margin-bottom: 25px;
}

.ikh-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.ikh-gender-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ikh-gender-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
}

.ikh-gender-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.ikh-gender-btn:hover {
    border-color: #007AFF;
    background: #F0F7FF;
    transform: scale(1.02);
}

.ikh-gender-btn.active {
    border-color: #007AFF;
    background: #007AFF;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.ikh-input-wrapper {
    position: relative;
}

.ikh-input {
    width: 100%;
    padding: 16px 60px 16px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.ikh-input:focus {
    outline: none;
    border-color: #007AFF;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.ikh-input-unit {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: #007AFF;
}

.ikh-button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.ikh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ikh-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.ikh-btn-primary {
    background: #007AFF;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.ikh-btn-primary:hover {
    background: #0051D5;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
    transform: translateY(-1px);
}

.ikh-btn-secondary {
    background: #f9fafb;
    color: #6b7280;
    border: 1.5px solid #d1d5db;
}

.ikh-btn-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

.ikh-result {
    margin: 30px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 16px;
    animation: slideIn 0.5s ease;
    border: 1px solid #e5e7eb;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ikh-result-header {
    margin-bottom: 20px;
}

.ikh-result-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
}

.ikh-result-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ikh-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ikh-result-label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
}

.ikh-result-value {
    font-size: 18px;
    font-weight: 700;
    color: #007AFF;
}

.ikh-result-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.ikh-result-badge.normal {
    background: #48bb78;
    color: white;
}

.ikh-result-badge.underweight {
    background: #ed8936;
    color: white;
}

.ikh-result-badge.overweight {
    background: #f6ad55;
    color: white;
}

.ikh-result-badge.obese {
    background: #fc8181;
    color: white;
}

.ikh-btn-share {
    width: 100%;
    margin-top: 20px;
    background: #34C759;
    color: white;
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3);
}

.ikh-btn-share:hover {
    background: #2DB04D;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.4);
    transform: translateY(-1px);
}

.ikh-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 30px 30px;
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
}

.ikh-info svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: #007AFF;
    margin-top: 2px;
}

.ikh-info p {
    margin: 0;
}

/* Responsive Tasarım */
@media screen and (max-width: 768px) {
    .ikh-container {
        margin: 20px auto;
        padding: 0 15px;
    }

    .ikh-title {
        font-size: 24px;
    }

    .ikh-subtitle {
        font-size: 14px;
    }

    .ikh-header {
        padding: 30px 20px;
    }

    .ikh-form {
        padding: 20px;
    }

    .ikh-result {
        margin: 20px;
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .ikh-button-group {
        grid-template-columns: 1fr;
    }

    .ikh-gender-buttons {
        grid-template-columns: 1fr;
    }

    .ikh-title {
        font-size: 22px;
    }

    .ikh-form {
        padding: 15px;
    }

    .ikh-result {
        margin: 15px;
        padding: 15px;
    }

    .ikh-info {
        padding: 15px;
        font-size: 13px;
    }
}

/* Print için gizle */
@media print {
    .ikh-btn-share {
        display: none;
    }
}