.percentage-page {
    max-width: var(--small-width);
    margin: 0 auto;
    padding: 20px;
}

.calc-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.calc-card {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.full-width {
    flex: none;
    width: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

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

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

.card-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px 0;
}

.calc-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.calc-input {
    flex: 0 0 100px;
    width: 100px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    background: #f9fafb;
    transition: border-color 0.2s;
}

.calc-input:focus {
    outline: none;
    border-color: #059669;
}

.calc-input::placeholder {
    color: #9ca3af;
}

.calc-operator {
    font-size: 15px;
    color: #6b7280;
    white-space: nowrap;
}

.calc-result {
    flex: 0 0 80px;
    width: 80px;
    padding: 10px 16px;
    background: #059669;
    color: white;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.card-example {
    margin-top: 16px;
    padding-left: 12px;
    border-left: 3px solid #f472b6;
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .calc-row {
        flex-direction: column;
    }
    
    .calc-input-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .calc-input {
        flex: 1;
        width: auto;
    }
    
    .calc-operator {
        display: none;
    }
    
    .calc-result {
        flex: 1;
        width: auto;
    }
}