/**
 * Quick Calendar — mobile-first paste-to-calendar tool
 */

.ak-quick-calendar {
    max-width: 520px;
    margin: 0 auto;
    padding: 20px 16px 48px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1a1a1a;
}

.ak-qc-notice {
    max-width: 520px;
    margin: 24px auto;
    padding: 16px;
    background: #fff8e6;
    border: 1px solid #c9a227;
    border-radius: 12px;
    text-align: center;
}

.ak-qc-header {
    text-align: center;
    margin-bottom: 28px;
    padding: 24px 16px;
    background: linear-gradient(145deg, #0a0604 0%, #1a1208 100%);
    border: 1px solid #c9a227;
    border-radius: 16px;
    color: #f5f0e6;
}

.ak-qc-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #c9a227;
}

.ak-qc-header h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.ak-qc-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #d4cbb8;
}

.ak-qc-step {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.ak-qc-hidden {
    display: none;
}

.ak-qc-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.ak-qc-textarea,
.ak-qc-form input,
.ak-qc-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.4;
    color: #111;
    background: #fff;
    -webkit-appearance: none;
}

.ak-qc-textarea {
    min-height: 160px;
    resize: vertical;
}

.ak-qc-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.ak-qc-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.ak-qc-btn-primary {
    background: #1a5fb4;
    color: #fff;
}

.ak-qc-btn-secondary {
    background: #f3f3f3;
    color: #222;
    border: 2px solid #ccc;
}

.ak-qc-btn-google {
    background: #1a5fb4;
    color: #fff;
}

.ak-qc-btn-apple {
    background: #111;
    color: #fff;
}

.ak-qc-hint,
.ak-qc-sub {
    margin: 12px 0 0;
    font-size: 13px;
    color: #666;
    line-height: 1.45;
}

.ak-qc-step h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.ak-qc-form {
    margin-top: 16px;
}

.ak-qc-field {
    margin-bottom: 14px;
}

.ak-qc-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.ak-qc-row {
    display: grid;
    grid-template-columns: 1fr 1fr 72px;
    gap: 10px;
}

.ak-qc-confidence {
    margin: 8px 0 16px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.ak-qc-confidence.is-good {
    background: #e8f5e9;
    color: #1b5e20;
}

.ak-qc-confidence.is-partial {
    background: #fff8e1;
    color: #7a5b00;
}

.ak-qc-confidence.is-low {
    background: #fce4ec;
    color: #880e4f;
}

.ak-qc-calendar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.ak-qc-link-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #1a5fb4;
    font-size: 14px;
    padding: 8px;
    cursor: pointer;
    text-align: center;
}

.ak-qc-install {
    padding: 16px;
    background: #faf8f4;
    border: 1px dashed #c9a227;
    border-radius: 12px;
    font-size: 14px;
}

.ak-qc-install h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #0a0604;
}

.ak-qc-install p {
    margin: 0 0 8px;
    color: #555;
    line-height: 1.45;
}

.ak-qc-install-detail {
    margin-bottom: 0 !important;
}

.ak-qc-loading {
    opacity: 0.6;
    pointer-events: none;
}

@media (min-width: 480px) {
    .ak-qc-actions {
        flex-direction: row;
    }

    .ak-qc-btn-secondary {
        flex: 0 0 auto;
        width: auto;
        min-width: 180px;
    }

    .ak-qc-btn-primary {
        flex: 1;
    }
}
