/* Base Styles */
.apap-form-wrapper {
    padding: 1rem;
    font-family: 'Segoe UI', Roboto, -apple-system, system-ui, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apap-form-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 500px;
    padding: 1.5rem;
    margin: 1rem auto;
}

.apap-form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.apap-form-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background-color: #f0f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apap-form-icon svg {
    width: 24px;
    height: 24px;
}

.apap-form-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.apap-form-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Form Elements */
.apap-form-group {
    margin-bottom: 1.5rem;
}

.apap-form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.apap-form-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.apap-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #3498db;
    border-radius: 4px;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.apap-form-checkbox input:checked ~ .apap-checkbox-custom {
    background-color: #3498db;
}

.apap-form-checkbox input:checked ~ .apap-checkbox-custom:after {
    content: "";
    display: block;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.apap-checkbox-label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}

.apap-form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    margin-top: 0.25rem;
    background-color: #f9f9f9;
    transition: all 0.2s ease;
}

.apap-form-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background-color: #fff;
}

.apap-input-note {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
    padding-left: 1.75rem;
}

/* Submit Button */
.apap-form-footer {
    margin-top: 2rem;
}

.apap-submit-button {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.apap-submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.apap-submit-icon {
    margin-right: 0.5rem;
}

.apap-form-notice {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.apap-form-notice svg {
    margin-right: 0.4rem;
}

/* Responsive Design */
@media (min-width: 600px) {
    .apap-form-wrapper {
        padding: 2rem;
    }
    
    .apap-form-card {
        padding: 2rem;
    }
    
    .apap-form-title {
        font-size: 1.75rem;
    }
    
    .apap-form-subtitle {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.apap-form-group {
    animation: fadeIn 0.4s ease forwards;
}

.apap-form-group:nth-child(1) { animation-delay: 0.1s; }
.apap-form-group:nth-child(2) { animation-delay: 0.2s; }
.apap-form-footer { animation-delay: 0.3s; }