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

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

.calc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.calc-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
}

.calc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-color: #1a73e8;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.card-icon {
    font-size: 20px;
    margin-right: 8px;
}

.card-title {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.card-description {
    color: #5f6368;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 16px 0;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #1a73e8;
}

.card-body {
    margin-bottom: 16px;
}

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

.calc-input-group:last-child {
    margin-bottom: 0;
}

.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: 10px 12px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 14px;
    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-box {
    background: #e8f0fe;
    border: 1px solid #1a73e8;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
    margin-top: 16px;
}

.result-value {
    color: #1a73e8;
    font-size: 22px;
    font-weight: 600;
}

.card-link {
    display: inline-block;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #1a73e8;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s;
    margin-top: 12px;
}

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

.usage-guide {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    margin-top: 40px;
}

.guide-section h2 {
    color: #202124;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
}

.guide-section > p {
    color: #5f6368;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
}

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

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

.guide-item h3 {
    color: #202124;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 500;
}

.guide-item ul {
    list-style: none;
    padding: 0;
}

.guide-item li {
    color: #5f6368;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.guide-item li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a73e8;
    font-size: 20px;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .calc-card {
        padding: 20px;
    }

    .card-title {
        font-size: 16px;
    }

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

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

    .usage-guide {
        padding: 25px;
    }
}