.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.calc-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.calc-section h2 {
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 24px;
    text-align: center;
}

.calc-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.input-section h3,
.result-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.calc-input-group {
    margin-bottom: 25px;
}

.input-label {
    display: block;
    color: #5f6368;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.5;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-input {
    padding: 12px 16px;
    border: 1px solid #dadce0;
    border-radius: 6px;
    font-size: 16px;
    flex: 1;
    transition: all 0.2s;
    font-weight: 400;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.input-unit {
    color: #5f6368;
    font-size: 14px;
    font-weight: 500;
    min-width: 30px;
}

.result-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.result-label {
    display: block;
    color: #5f6368;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.result-value {
    color: #1a73e8;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
}

.info-section,
.examples-section {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.info-section h3,
.examples-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.info-content p {
    color: #5f6368;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-content ul {
    color: #5f6368;
    padding-left: 20px;
    line-height: 1.6;
}

.info-content li {
    margin-bottom: 8px;
}

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

.example-item {
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 20px;
}

.example-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.example-item p {
    color: #5f6368;
    line-height: 1.5;
    margin: 0;
}

.related-tools {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
}

.related-tools h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.tool-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tool-link {
    display: inline-block;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #1a73e8;
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s;
}

.tool-link:hover {
    color: #fff;
    background: #1a73e8;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26,115,232,0.3);
}

@media (max-width: 768px) {
    .calculator-container {
        padding: 15px;
    }

    .calc-form {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .calc-section {
        padding: 20px;
    }

    .calc-section h2 {
        font-size: 20px;
    }

    .result-value {
        font-size: 20px;
    }

    .example-grid {
        grid-template-columns: 1fr;
    }

    .tool-links {
        flex-direction: column;
    }

    .tool-link {
        text-align: center;
    }
}