
/* Practices Manager Styles */
#practices-manager-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.practices-section {
    margin-bottom: 30px;
}

.practices-nav {
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 20px;
}

.practices-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.practices-menu li {
    flex: 1;
}

.practices-menu .menu-item {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #666;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.practices-menu .menu-item:hover,
.practices-menu .menu-item.active {
    background: #007cba;
    color: white;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.practices-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.practices-btn-primary {
    background: #007cba;
    color: white;
}

.practices-btn-primary:hover {
    background: #005a87;
}

.practices-btn-secondary {
    background: #6c757d;
    color: white;
}

.practices-btn-secondary:hover {
    background: #545b62;
}

.practices-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

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

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

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.practices-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.practices-table th,
.practices-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.practices-table th {
    background: #f8f9fa;
    font-weight: bold;
}

.practices-table tbody tr:hover {
    background: #f5f5f5;
}

#loading-indicator {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

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

#auth-section {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 6px;
}

#auth-status {
    margin-bottom: 20px;
    font-size: 16px;
}
