.pm-gym-attendance-form {
    max-width: 500px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pm-gym-attendance-form h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.pm-gym-attendance-form .form-group {
    margin-bottom: 15px;
}

.pm-gym-attendance-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.pm-gym-attendance-form input[type="text"],
.pm-gym-attendance-form select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.pm-gym-attendance-form input[type="text"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 2px rgba(0, 115, 170, 0.8);
    outline: none;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.pm-gym-attendance-form button {
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.pm-gym-attendance-form button:hover {
    background: #005177;
}

.pm-gym-attendance-form button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

#attendance-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

#attendance-message.success {
    background: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

#attendance-message.error {
    background: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
} 
.container{
    margin: 0;
    width: 100%;
    max-width: 100%;
    
    
}
.pm-gym-logo{
    display: block;
    background: #000;
    border-radius: 10px;
    width: 140px;
    margin: 0 auto;
}
.pm-gym-attendance-form-container {
    background: url(/wp-content/plugins/pm-gym/public/img/bg.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#main #content-wrap{
    padding: 0;
}

/* Gym Management Public Styles */

/* Form Container */
#member-form {
    max-width: 1200px;
    margin: 0px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Form Fields */
.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.form-field input[type="number"]{
    max-width: 100%;
}

.form-field textarea {
    resize: vertical;
}

/* Required Field Indicator */
.required {
    color: #dc3545;
}

/* Field Error Messages */
.field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

/* Row Layout */
.row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.row > * {
    flex: 1;
}

/* Submit Button */
.form-submit {
    margin-top: 20px;
    text-align: center;
}

.button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.button-primary {
    background: #0073aa;
    color: #fff;
}

.button-primary:hover {
    background: #005177;
}

.pm-gym-member-registration-form-container {
    background: url(/wp-content/plugins/pm-gym/public/img/bg.jpg);
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 30px;
}
.pm-gym-member-registration-form-container h2{
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
    background: #000;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
}
/* Face Recognition Styles */
.face-capture-container {
    margin-top: 15px;
}

.face-capture-container video,
.face-scan-preview video {
    width: 100%;
    max-width: 640px;
    border-radius: 8px;
    background: #000;
    display: block;
    margin: 0 auto;
}

.face-capture-container canvas,
.face-scan-preview canvas {
    display: none;
}

#face-preview-container,
.face-scan-preview {
    position: relative;
    margin: 15px 0;
    text-align: center;
}

#face-status,
#face-scan-status {
    margin-top: 10px;
    font-weight: 500;
    min-height: 24px;
    padding: 8px;
    border-radius: 4px;
}

#face-capture-controls,
#face-scan-controls {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

#face-preview-thumbnail {
    margin-top: 15px;
    text-align: center;
}

#face-preview-thumbnail img {
    max-width: 150px;
    border-radius: 8px;
    margin-top: 10px;
    border: 2px solid #28a745;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.face-scan-preview {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/* Face detection overlay styles */
.face-detection-box {
    position: absolute;
    border: 2px solid #28a745;
    border-radius: 4px;
    pointer-events: none;
}

/* Loading states */
.face-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4682B4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Face scan button styling */
#scan-face-btn {
    padding: 12px 20px;
    font-size: 16px;
    white-space: nowrap;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .row {
        /* flex-direction: column; */
        gap: 10px;
        margin-bottom: 0;
    }
    
    .col-4 {
        width: 100%;
    }
    
    #member-form {
        padding: 15px;
    }

    .face-capture-container video,
    .face-scan-preview video {
        max-width: 100%;
    }

    #face-capture-controls,
    #face-scan-controls {
        flex-direction: column;
    }

    #face-capture-controls button,
    #face-scan-controls button {
        width: 100%;
    }
}

/* Face Enrollment Form Styles */
.pm-gym-face-enrollment-form-container {
    background: url(/wp-content/plugins/pm-gym/public/img/bg.jpg);
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.pm-gym-face-enrollment-form {
    background: #fff;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    width: 100%;
}

.pm-gym-face-enrollment-form h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: #1e2b3d;
}

.pm-gym-face-enrollment-form .form-step {
    margin-bottom: 25px;
}

.pm-gym-face-enrollment-form .member-info-box {
    padding: 20px;
    background: #f8dedc;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.pm-gym-face-enrollment-form .member-info-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1e2b3d;
}

.pm-gym-face-enrollment-form .member-info-box p {
    font-size: 16px;
    color: #333;
    margin: 5px 0;
}

.pm-gym-face-enrollment-form .message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.pm-gym-face-enrollment-form .message.success {
    background-color: #d4edda;
    color: #155724;
}

.pm-gym-face-enrollment-form .message.error {
    background-color: #f8d7da;
    color: #721c24;
}

@media screen and (max-width: 768px) {
    .pm-gym-face-enrollment-form {
        padding: 20px;
    }
}