#cfum-registration-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cfum-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #007cba;
}

.cfum-form-header h2 {
    color: #007cba;
    margin-bottom: 10px;
}

.cfum-form-header p {
    color: #666;
    font-size: 16px;
}

.required-info {
    color: #d63384;
    font-size: 14px;
    margin-top: 10px;
}

.cfum-login-notice,
.cfum-pending-notice,
.cfum-approved-notice {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.cfum-login-notice {
    background: #e7f3ff;
    border: 1px solid #007cba;
    color: #004085;
}

.cfum-pending-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.cfum-approved-notice {
    background: #d1e7dd;
    border: 1px solid #0f5132;
    color: #0f5132;
}

.cfum-login-notice a,
.cfum-pending-notice a,
.cfum-approved-notice a {
    color: inherit;
    text-decoration: underline;
    font-weight: bold;
}

#cfum-registration-form fieldset {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

#cfum-registration-form legend {
    font-weight: bold;
    padding: 0 10px;
    font-size: 18px;
    color: #333;
}

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

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

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 5px rgba(0,124,186,0.3);
}

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

.dog-entry {
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    background: #f9f9f9;
    position: relative;
}

.dog-entry h4 {
    margin-top: 0;
    color: #007cba;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.dog-entry h5 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #666;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 14px;
    line-height: 1.4;
}

.button {
    background: #007cba;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background: #005a87;
}

.remove-dog {
    background: #dc3232;
    position: absolute;
    top: 10px;
    right: 10px;
}

.remove-dog:hover {
    background: #a02020;
}

#add-dog {
    margin-top: 10px;
}

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

.submit-btn {
    background: #00a32a;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.submit-btn:hover {
    background: #007a20;
}

#form-messages {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
}

#form-messages .success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 4px;
}

#form-messages .error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
    padding: 10px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    #cfum-registration-form {
        padding: 15px;
    }
    
    .dog-entry {
        padding: 15px;
    }
    
    .remove-dog {
        position: static;
        margin-top: 15px;
    }
}