.ac-wrapper {
    display: flex;
    justify-content: center;
    padding: 30px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.ac-wrapper * {
    box-sizing: border-box;
}

.ac-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
    padding: 32px 36px 36px;
    width: 100%;
    max-width: 460px;
}

.ac-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.ac-subtitle {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 26px;
    line-height: 1.5;
}

.ac-field {
    margin-bottom: 18px;
}

.ac-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.ac-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    font-size: 13px;
    color: #9ca3af;
    cursor: help;
    line-height: 1;
}

.ac-field input[type="number"],
.ac-required-wrap select,
.ac-required-wrap input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #111827;
    background: #fff;
    outline: none;
    transition: border-color 0.15s ease;
}

.ac-field input[type="number"]:focus,
.ac-required-wrap select:focus,
.ac-required-wrap input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.ac-required-wrap {
    display: flex;
    gap: 10px;
}

.ac-required-wrap select {
    flex: 1;
}

.ac-required-wrap input {
    flex: 1;
}

.ac-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.ac-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.05s ease;
}

.ac-btn:active {
    transform: scale(0.98);
}

.ac-btn-primary {
    background: #14b8a6;
    color: #ffffff;
}

.ac-btn-primary:hover {
    background: #0d9488;
}

.ac-btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.ac-btn-secondary:hover {
    background: #d1d5db;
}

.ac-result {
    margin-top: 24px;
    padding: 18px 20px;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 10px;
    font-size: 14px;
    color: #134e4a;
    line-height: 1.7;
}

.ac-result strong {
    font-size: 16px;
}

.ac-result .ac-headline {
    font-size: 16px;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 8px;
    display: block;
}

.ac-error {
    margin-top: 20px;
    padding: 14px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #991b1b;
    font-size: 14px;
}

@media (max-width: 480px) {
    .ac-card {
        padding: 24px 20px 28px;
    }
}
