/* Widget Styles */
#bookme-widget {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 431px;
    height: 90%;
    z-index: 9999;
}

#bookme-widget iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width: 501px) {
    #bookme-widget {
        width: 100%;
    }
}

/* Authentication Page Styles */
.bookme-auth-container {
    max-width: 400px;
    margin: 20px 0;
}

/* Center all forms on the page */
.bookme-centered-container {
    min-height: 100vh;
    margin: 1rem auto;
    width: 50%;
    background: white;
    border-radius: 0.5rem;
}

.bookme-login-container {
    margin: 0 auto;
    padding: 32px 24px 24px 24px;
    background: #fff;
    font-family: 'Inter', Arial, sans-serif;
}

.bookme-login-header {
    text-align: center;
    margin-bottom: 24px;
}
.bookme-login-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.bookme-login-subtitle {
    font-size: 1rem;
    color: #444;
    margin-bottom: 4px;
}
.bookme-login-info {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 0;
}
.bookme-login-info a {
    color: #0070f3;
    text-decoration: underline;
}

.bookme-login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}
.form-group label {
    font-size: 1rem;
    font-weight: 500;
    color: #222;
}
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"],
.form-group select {
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #fafbfc;
    transition: border 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus {
    border-color: #0070f3;
    outline: none;
}

.bookme-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.bookme-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 28px;
    opacity: 0.7;
}

.bookme-button.bookme-login-btn {
    width: 100%;
    padding: 12px 0;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 0;
    cursor: pointer;
    transition: background 0.2s;
}
.bookme-button.bookme-login-btn:disabled {
    background: #e0e0e0;
    color: #aaa;
    cursor: not-allowed;
}

.bookme-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0 12px 0;
}
.bookme-separator span {
    color: #888;
    font-size: 1rem;
    padding: 0 12px;
    background: #fff;
    z-index: 1;
}
.bookme-separator:before,
.bookme-separator:after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
    margin: 0 4px;
}

.bookme-button.bookme-google-button {
    width: 100%;
    padding: 12px 0;
    background: #fff;
    color: #222;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: none;
    cursor: pointer;
    transition: border 0.2s, box-shadow 0.2s;
}
.bookme-button.bookme-google-button:hover {
    border-color: #bdbdbd;
    box-shadow: 0 2px 8px rgba(60,60,60,0.04);
}
.bookme-button.bookme-google-button img {
    width: 22px;
    height: 22px;
    margin-right: 6px;
}

/* Trash icon for instructor removal */
.bookme-instructor-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bookme-instructor-remove svg {
    width: 20px;
    height: 20px;
    stroke: #888;
    transition: stroke 0.2s;
}
.bookme-instructor-remove:hover svg {
    stroke: #d63638;
}

.bookme-signup-link,
.bookme-forgot-password {
    display: none !important;
}

/* Professional Selector Styles */
.wrap .bookme-professional-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
}

.wrap .bookme-professional-selector select {
    flex: 1;
    min-width: 200px;
    padding: 8px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background-color: #fff;
}

.wrap .bookme-professional-selector select:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

/* Remove unused styles */
.wrap .bookme-instructors-list,
.wrap .bookme-instructors-list-content,
.wrap .bookme-instructor-card,
.wrap .bookme-instructor-info,
.wrap .bookme-instructor-info h3,
.wrap .bookme-instructor-email,
.wrap .bookme-instructor-title,
.wrap .bookme-instructor-bio {
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 782px) {
    .wrap .bookme-auth-container {
        flex-direction: column;
    }
    
    .wrap .bookme-auth-box {
        margin-bottom: 1rem;
    }
    
    .wrap .bookme-auth-box input[type="email"],
    .wrap .bookme-auth-box input[type="password"] {
        font-size: 16px; /* Prevent zoom on mobile */
    }
    
    .wrap .bookme-professional-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .wrap .bookme-professional-selector select {
        width: 100%;
    }
    
    .wrap .bookme-professional-selector button {
        width: 100%;
    }
}
