/* Crown Point College Admission Form Styles */

.cpcollege-admission-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    font-family: Arial, sans-serif;
    background: #ffffff;
    border: 2px solid #1a365d;
}

/* Header */
.form-header {
    text-align: center;
    border-bottom: 3px double #1a365d;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

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

.logo img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.header-text h1 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: #1a365d;
    text-transform: uppercase;
}

.header-text h2 {
    font-size: 12px;
    font-weight: bold;
    margin: 8px 0;
    color: #2c5282;
    font-style: italic;
}

.header-text h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 0 0;
    color: #1a365d;
    text-decoration: underline;
}

.contact-info {
    font-size: 11px;
    color: #333;
    margin-top: 15px;
}

.contact-info p {
    margin: 3px 0;
}

/* Instructions Section */
.instructions-section {
    background: #f7fafc;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-left: 4px solid #1a365d;
}

.instructions-section h4 {
    margin: 0 0 10px 0;
    color: #1a365d;
    font-size: 14px;
}

.instructions-section ol {
    margin: 0;
    padding-left: 20px;
    font-size: 12px;
}

.instructions-section li {
    margin-bottom: 5px;
}

/* Payment Details */
.payment-details {
    background: #fffaf0;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #ed8936;
}

.payment-details h4 {
    margin: 0 0 15px 0;
    color: #c05621;
    font-size: 14px;
    text-align: center;
}

.bank-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.bank {
    background: #fff;
    padding: 15px;
    border: 1px solid #ed8936;
    min-width: 250px;
}

.bank p {
    margin: 5px 0;
    font-size: 12px;
}

.payment-fields {
    border-top: 1px dashed #ed8936;
    padding-top: 15px;
}

/* Sections */
.section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.section h4 {
    background: #1a365d;
    color: #fff;
    padding: 10px 15px;
    margin: -20px -20px 20px -20px;
    font-size: 14px;
}

.section h5 {
    color: #2c5282;
    font-size: 13px;
    margin: 20px 0 10px 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
}

/* Form Rows */
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.form-row label {
    min-width: 250px;
    font-weight: 600;
    font-size: 13px;
    color: #2d3748;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row input[type="file"],
.form-row textarea {
    padding: 8px 12px;
    border: 1px solid #cbd5e0;
    font-size: 13px;
    font-family: inherit;
}

.short-input {
    width: 100px;
}

.medium-input {
    width: 200px;
}

.long-input {
    width: 350px;
}

.full-width {
    width: 100%;
    max-width: 500px;
}

.file-note {
    font-size: 11px;
    color: #718096;
    margin-left: 10px;
    font-style: italic;
}

/* Checkbox Groups */
.checkbox-row {
    align-items: flex-start;
}

.checkbox-row .checkbox-group {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-group.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkbox-group.inline {
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

/* File Upload Rows */
.file-row {
    align-items: center;
    gap: 10px;
}

.file-row label {
    min-width: auto;
}

.document-uploads {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.document-uploads .file-row {
    background: #f7fafc;
    padding: 10px;
    border-radius: 4px;
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.submit-btn {
    background: #1a365d;
    color: #fff;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: #2c5282;
}

/* Responsive */
@media (max-width: 768px) {
    .cpcollege-admission-form {
        padding: 15px;
    }
    
    .logos-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-text h1 {
        font-size: 14px;
    }
    
    .bank-details {
        flex-direction: column;
    }
    
    .form-row label {
        min-width: 100%;
        margin-bottom: 5px;
    }
    
    .short-input,
    .medium-input,
    .long-input {
        width: 100%;
    }
    
    .checkbox-group.two-column {
        grid-template-columns: 1fr;
    }
}
