/* Container */
.cef-registration-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

/* Header */
.cef-form-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #27ae60;
    padding-bottom: 20px;
}
.cef-form-header h2 {
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 10px;
}
.cef-date-location {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.1em;
}

/* Sections */
.cef-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fbfd;
    border-radius: 6px;
    border: 1px solid #edf2f7;
}
.cef-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.cef-note {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

/* Grid System */
.cef-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.full-width {
    grid-column: span 2;
}
@media (max-width: 600px) {
    .cef-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
}

/* Fields */
.cef-field {
    display: flex;
    flex-direction: column;
}
.cef-field label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #4a5568;
    font-size: 14px;
}
.cef-field input, 
.cef-field select {
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.cef-field input:focus, 
.cef-field select:focus {
    border-color: #27ae60;
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* File Upload Styling */
input[type="file"] {
    background: #fff;
    padding: 10px;
    border: 1px dashed #cbd5e0;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
}
input[type="file"]:hover {
    border-color: #27ae60;
    background: #f0fff4;
}

/* Beneficiary Row */
.beneficiary-row {
    background: #fff;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 15px;
    position: relative;
}
.beneficiary-title {
    margin-top: 0;
    font-size: 14px;
    color: #27ae60;
    margin-bottom: 10px;
}
.remove-row {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #e53e3e;
    cursor: pointer;
    font-size: 12px;
}

/* Buttons */
.cef-btn-secondary {
    background: #edf2f7;
    color: #2d3748;
    border: 1px solid #cbd5e0;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}
.cef-btn-secondary:hover {
    background: #e2e8f0;
}

.cef-btn-primary {
    background: #27ae60;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}
.cef-btn-primary:hover {
    background: #219150;
}

/* Summary Box */
.cef-summary {
    background: #fff;
    border: 2px solid #27ae60;
}
.cef-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0fff4;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.cef-total {
    font-size: 1.2em;
    font-weight: bold;
    color: #27ae60;
}
.cef-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #555;
}
.cef-checkbox-group input {
    margin-top: 3px;
}

/* Alerts */
.cef-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}
.cef-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.cef-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}