/* Kent Business College Theme - London Masterclass Registration Form */

* {
    box-sizing: border-box;
}

.kbc-registration-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Event Details Box */
.event-details-box {
    background: linear-gradient(135deg, #2d1b69 0%, #1e1347 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.event-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(124, 58, 237, 0.3);
}

.event-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.event-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 0;
    transition: none;
    backdrop-filter: none;
}

.info-card:hover {
    background: transparent;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.location-card {
    grid-column: auto;
}

.info-icon {
    width: 20px;
    height: 20px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
}

.date-icon,
.time-icon,
.location-icon {
    background: transparent;
    color: #ffffff;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-content {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex: 1;
    align-items: center;
}

.info-label {
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #ffffff;
}

.info-value {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.4;
}

.event-map-container {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: none;
    margin-top: 10px;
}

/* About Event Text */
.about-event-text {
    color: #ffffff;
    line-height: 1.6;
}

.about-event-text p {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #ffffff;
}

.about-event-text p:last-child {
    margin-bottom: 0;
}

.about-event-text strong {
    color: #ffffff;
    font-weight: 700;
}

.highlight-text {
    font-weight: 400;
    color: #ffffff !important;
    font-size: 16px !important;
    padding: 0;
    background: transparent;
    border-left: none;
    border-radius: 0;
    margin-top: 15px !important;
}

/* Registration Form Wrapper */
.registration-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-title {
    color: #1a1a2e;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #7c3aed;
}

/* Form Sections */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.required {
    color: #dc2626;
    margin-left: 2px;
}

/* Input Fields */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.form-input:focus {
    outline: none;
    border-color: #7c3aed;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Name Fields */
.name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field-hint {
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

/* Radio Groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #374151;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.radio-label:hover {
    background-color: #f3f4f6;
}

.radio-label input[type="radio"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #7c3aed;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-loader {
    display: inline-block;
}

/* Form Messages */
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    display: none;
    text-align: center;
}

.form-message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kbc-registration-container {
        padding: 15px;
    }

    .event-details-box {
        padding: 20px;
        margin-bottom: 20px;
    }

    .event-header {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .event-header h2 {
        font-size: 20px;
    }

    .event-content {
        gap: 15px;
    }

    .event-info-grid {
        gap: 10px;
    }

    .event-map-container {
        height: 200px;
    }

    .registration-form-wrapper {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .name-fields {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .event-details-box {
        padding: 15px;
    }

    .event-header h2 {
        font-size: 18px;
    }

    .event-content {
        gap: 12px;
    }

    .info-label,
    .info-value {
        font-size: 14px;
    }

    .event-map-container {
        height: 180px;
    }

    .registration-form-wrapper {
        padding: 20px 15px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-input {
        padding: 10px 14px;
    }
}