/* Registration Form Styles (Vue App specific) */

/* Additional styles for Vue registration app */
.registration-vue-app {
    /* Container styles are already in style.css */
}

/* Ensure registration card and form styles work with Vue */
.registration-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.registration-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.registration-header.corporate {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.registration-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.registration-header h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.registration-header p {
    margin: 0;
    opacity: 0.9;
}

.registration-form {
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: var(--secondary-color);
}

/* Type Selector */
.registration-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    border: 2px solid #eee;
    background: white;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
}

.type-btn:hover {
    border-color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.05);
}

.type-btn.active {
    border-color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
}

.type-btn.corporate.active {
    border-color: var(--accent-color);
    background: rgba(230, 126, 34, 0.1);
    color: var(--accent-color);
}

.type-btn i {
    font-size: 1.5rem;
}

/* Participants */
.participants-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.participant-card {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid #eee;
}

.participant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.participant-number {
    font-weight: 600;
    color: var(--primary-color);
}

.btn-remove-participant {
    width: 30px;
    height: 30px;
    border: none;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-remove-participant:hover {
    background: #c82333;
    transform: scale(1.1);
}

.btn-add-participant {
    display: block;
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px dashed var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-add-participant:hover {
    background: rgba(52, 152, 219, 0.1);
    border-style: solid;
}

/* Price Summary */
.price-summary {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    border-radius: 12px;
    color: white;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.price-line strong {
    font-size: 1.3rem;
}

.discount-info {
    margin-top: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
}

.discount-info i {
    margin-right: 8px;
}

/* Submit Button */
.btn-submit {
    display: block;
    width: 100%;
    padding: 18px 30px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover:not(:disabled) {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Selected Course Info */
.selected-course-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.course-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid #eee;
}

.course-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(52, 152, 219, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.course-info-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.course-info-label {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-bottom: 2px;
}

.course-info-content strong {
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 1.3;
}

.course-info-content small {
    font-size: 0.85rem;
    color: var(--light-text);
}

/* Info Box */
.registration-info-box {
    background: white;
    border-radius: 15px;
    padding: 25px 30px;
    margin-top: 30px;
    margin-bottom: 0;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.registration-info-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.registration-info-box h4 i {
    color: var(--secondary-color);
}

.registration-info-box ul {
    margin: 0;
    padding-left: 20px;
}

.registration-info-box ul li {
    margin-bottom: 10px;
    color: var(--dark-text);
}

.registration-info-box ul li:last-child {
    margin-bottom: 0;
}

.registration-info-box a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 767px) {
    .registration-type-selector {
        flex-direction: column;
    }

    .type-btn {
        padding: 15px;
    }

    .registration-form {
        padding: 25px;
    }

    .registration-header {
        padding: 30px 25px;
    }

    .participant-card .row > div {
        margin-bottom: 10px;
    }

    .selected-course-info {
        grid-template-columns: 1fr;
    }
}

