* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #98FF98 0%, #20B2AA 100%);
    padding: 20px;
}

.page-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    width: 100%;
}

.map-container {
    flex: 1;
    max-width: 500px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.container {
    flex: 1;
    max-width: 400px;
    padding: 15px;
}

.marine-container {
    flex: 1;
    max-width: 500px;
    height: 450px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.marine-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

h1 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.calculator {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.unit-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.unit-toggle button {
    flex: 1;
    padding: 10px;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.unit-toggle button.active {
    background: #667eea;
    color: white;
}

.input-group {
    margin-bottom: 15px;
}

.input-field {
    margin-bottom: 10px;
}

.input-field label {
    display: block;
    margin-bottom: 3px;
    color: #333;
    font-weight: 500;
}

.input-field input {
    width: 100%;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.input-field input:focus {
    outline: none;
    border-color: #667eea;
}

#calculate-btn {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

#calculate-btn:hover {
    background: #764ba2;
}

.result {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.result h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.bmi-value {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 8px;
}

.bmi-category {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.health-info {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.health-info h2 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.health-info a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.health-info a:hover {
    color: #2980b9;
    text-decoration: underline;
} 