/* IRCC Admission Form Styles */

.ircc-admission-form-wrapper {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.ircc-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #003366;
}

.ircc-form-header h2 {
    color: #003366;
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.ircc-form-header h3 {
    color: #666;
    font-size: 18px;
    margin: 0;
    font-weight: 400;
}

.ircc-form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #003366;
}

.ircc-form-section h4 {
    color: #003366;
    font-size: 18px;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.ircc-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.ircc-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ircc-form-group.full-width {
    flex: 1 1 100%;
}

.ircc-form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.ircc-form-group input[type="text"],
.ircc-form-group input[type="email"],
.ircc-form-group input[type="tel"],
.ircc-form-group input[type="date"],
.ircc-form-group select,
.ircc-form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.ircc-form-group input[type="text"]:focus,
.ircc-form-group input[type="email"]:focus,
.ircc-form-group input[type="tel"]:focus,
.ircc-form-group input[type="date"]:focus,
.ircc-form-group select:focus,
.ircc-form-group textarea:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.ircc-form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ircc-form-group input[type="file"]:hover {
    border-color: #003366;
    background: #f0f7ff;
}

.ircc-form-group small {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.required {
    color: #cc0000;
    font-weight: bold;
}

.upload-note {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
    font-style: italic;
}

.ircc-form-declaration {
    padding: 15px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.ircc-form-submit {
    text-align: center;
    margin-top: 30px;
}

.ircc-submit-btn {
    background: #003366;
    color: #fff;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.ircc-submit-btn:hover {
    background: #004080;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

.ircc-submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: none;
}

/* Message Styles */
#ircc-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
}

#ircc-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#ircc-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Modal Styles */
.ircc-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.ircc-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s;
}

.ircc-modal-header {
    padding: 20px;
    background: #003366;
    color: #fff;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.ircc-modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.ircc-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    line-height: 1;
}

.ircc-modal-close:hover {
    opacity: 0.7;
}

.ircc-modal-body {
    padding: 30px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    font-size: 50px;
    line-height: 80px;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s;
}

.registration-info {
    font-size: 16px;
    margin: 20px 0;
    padding: 15px;
    background: #f0f7ff;
    border-radius: 5px;
}

.registration-info strong {
    color: #003366;
    font-size: 18px;
}

.ircc-download-btn {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ircc-download-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ircc-admission-form-wrapper {
        padding: 20px;
        margin: 20px 10px;
    }

    .ircc-form-row {
        flex-direction: column;
        gap: 0;
    }

    .ircc-form-header h2 {
        font-size: 22px;
    }

    .ircc-form-header h3 {
        font-size: 16px;
    }

    .ircc-submit-btn {
        width: 100%;
        padding: 15px 20px;
    }

    .ircc-modal-content {
        margin: 20% 15px;
        max-width: 100%;
    }
}
