/* ==========================================================================
   MINDGROWN KURSUS BOOKING STYLING
   ========================================================================== */

.mg-kb-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1e293b;
    line-height: 1.5;
    margin: 30px auto;
    max-width: 700px;
}

.mg-kb-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 35px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.mg-kb-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.mg-kb-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.mg-kb-header p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

.mg-kb-section {
    margin-bottom: 30px;
}

.mg-kb-section-title {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #3b82f6;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #eff6ff;
}

.mg-kb-form-group {
    margin-bottom: 20px;
}

.mg-kb-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .mg-kb-row {
        grid-template-columns: 1fr;
    }
}

.mg-kb-col {
    display: flex;
    flex-direction: column;
}

.mg-kb-wrapper label {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.mg-kb-wrapper input[type="text"],
.mg-kb-wrapper input[type="email"],
.mg-kb-wrapper input[type="tel"],
.mg-kb-wrapper input[type="date"],
.mg-kb-wrapper input[type="number"],
.mg-kb-wrapper select,
.mg-kb-wrapper textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mg-kb-wrapper input:focus,
.mg-kb-wrapper select:focus,
.mg-kb-wrapper textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline: none;
}

.mg-kb-help-text {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
    display: block;
}

/* KURSUS INFO BOKS */
.mg-kb-info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.mg-kb-info-box h5 {
    margin: 0 0 6px 0;
    font-size: 16px;
    color: #1e293b;
}

.mg-kb-info-box p {
    margin: 0 0 12px 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.mg-kb-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mg-kb-badge {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* PRIS BOKS */
.mg-kb-price-summary-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 20px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.mg-kb-price-summary-box .price-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.mg-kb-price-summary-box .price-amount {
    font-size: 26px;
    font-weight: 800;
    color: #4ade80;
}

.mg-kb-price-summary-box .price-note {
    font-size: 11px;
    opacity: 0.7;
}

/* FOOTER & SUBMIT BUTTON */
.mg-kb-footer {
    margin-top: 30px;
    text-align: center;
}

.mg-kb-submit-button {
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.mg-kb-submit-button:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

.mg-kb-submit-button:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* FEEDBACK MESSAGES */
.mg-kb-feedback {
    margin-top: 15px;
    font-size: 14px;
}

.mg-kb-feedback.success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 12px;
    border-radius: 8px;
}

.mg-kb-feedback.error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 12px;
    border-radius: 8px;
}

.mg-kb-notice {
    background: #fffbebf5;
    border: 1px solid #fef08a;
    color: #854d0e;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

/* SEKUNDÆR KNAP (TRIN & NY BOOKING) */
.mg-kb-secondary-button {
    background-color: #f1f5f9;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mg-kb-secondary-button:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

/* BOOKING KVITTERING (RECEIPT) */
.mg-kb-receipt-card {
    text-align: center;
    padding: 10px 0;
}

.mg-kb-receipt-icon {
    width: 60px;
    height: 60px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px auto;
}

.mg-kb-receipt-card h3 {
    font-size: 24px;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.mg-kb-receipt-sub {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 25px;
}

.mg-kb-receipt-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
}

.mg-kb-receipt-details h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.mg-kb-receipt-table {
    width: 100%;
    border-collapse: collapse;
}

.mg-kb-receipt-table th {
    text-align: left;
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 0;
    width: 130px;
}

.mg-kb-receipt-table td {
    color: #0f172a;
    font-size: 14px;
    padding: 8px 0;
}

.rcpt-price-highlight {
    font-weight: 800 !important;
    color: #16a34a !important;
    font-size: 16px !important;
}

