@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Rajdhani:wght@300;400;500;600;700&family=Roboto+Slab:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Rajdhani:wght@300;400;500;600;700&family=Roboto+Slab:wght@100..900&display=swap');
/* Authentication Forms */

.photo{ 
    border-radius: 0px !important;
}
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
   
    
    padding: 20px;
}

.auth-box {
    
  
    
    
    max-width: 710px;
    width: 100%;
}

.auth-logo {
    text-align: center;
    margin-bottom: 20px;
}

.auth-logo img {
    width: 134px !important;
    height: 134px !important;
}

.auth-title {
    font-family: "Roboto Slab", serif;
    font-size: 64px;
    line-height: 75px;
    letter-spacing: -2.29px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px !important;
    color: #333;
}

.auth-subtitle {
    font-family: "Open Sans", sans-serif;
    text-align: center;
    font-size: 15px;
    line-height: 27px;
    color: #1A1A1A;
    margin-bottom: 30px;
}

.auth-subtitle a {
    color: #5568E5;
    text-decoration: none;
    font-weight: 600;
}

.auth-form{
    padding: 32px;
    border: 1px solid #DEDEDE;
    border-radius: 24px;
   
}
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 600;
    font-family: "Roboto Slab", serif;
    font-size: 14px;
    line-height: 15px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 16px 15px;
    border: 1px solid #F0F0F0;
    border-radius: 100px;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
    color: #626262;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
}

.auth-form input:focus {
    outline: none;
    border-color: #5568E5;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}

.auth-button {
    width: 100%;
    padding: 14px;
    background: #5568E5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.auth-button:hover {
    background: #4556d4;
}

.auth-note {
    font-family: "Open Sans", sans-serif;
    text-align: center;
    font-size: 15px;
    color: #1A1A1A;
    margin-top: 20px;
    line-height: 27px;
    width: 513px;
}

.auth-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    display: none;
}

.auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Profile Page */

.profile-info-container{
        display: flex;
    gap: 30px;
    align-items: center !important;
}
.profile-header {
    background: #3954A5;
    padding: 40px !important;
    position: relative !important;
    border-radius: 24px 24px 0px 0px !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
}
.action-container{
    display: flex;
    flex-direction: row-reverse;

}
.profile-avatar img {
    width: 150px !important;
    height: 150px !important;
    border-radius: 100% !important;
    
    object-fit: cover;
}

.profile-info h1 {
    margin: 0 0 5px 0;
    font-size: 32px;
    font-weight: 700;
}

.profile-title {
    margin: 0 0 10px 0;
    opacity: 0.9;
    font-size: 16px;
}

.profile-joined {
    position: absolute;
    right: 35px;
    top: 35px;
    font-size: 14px;
}

.profile-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-edit-profile {
   background-image: url(https://imago.tdtrg.com/wp-content/uploads/2025/12/Background-1.png) !important;
    background-repeat: no-repeat !important;
    background-position: 6px center !important;
    background-size: 40px 40px !important;
    padding-left: 57px !important;
    background-color: white !important;
    color: #3954A5;
        padding: 12px 12px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 27px;
}

.btn-edit-profile:hover {
   background-color: none;
   border: 1px solid white;
   color: black;
}

.btn-menu {
        padding: 12px 20px;
    border-radius: 100px;
    cursor: pointer;
    border: 1px solid white;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 27px;
    color: white;
}

.btn-menu:hover {
   background-color: white;
   color: black;
}
.profile-up{
    background-color: #9DA2D026;
    padding: 24px;
    border-radius: 24px;
}
.profile-badges {
    display: flex;
    gap: 10px;
    
    flex-wrap: wrap;
   
}



.badge-certified-supervisor {
    background: #fff3cd;
    color: #856404;
}

.badge-workshop-presenter {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-advanced-clinician {
    background: #d4edda;
    color: #155724;
}

.profile-content {
    display: grid;
    grid-template-rows: 1fr 1fr;
  
}

.profile-section {
    width: 50%;
        height: fit-content
    
}

.top{
        border: 1px solid #C9C9C9;
    border-radius: 18px;
    padding: 15px;
    background-color: white;
}

.profile-section h3{
    font-family: "Roboto Slab", serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    color: #000000;
    margin: 0 0 2px 0;
    padding-bottom: 10px;
}
.profile-section p{
        color: rgba(0, 0, 0, 0.5);
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    font-family: "Open Sans", sans-serif;
    margin: 0 !important;
}

.info-div{
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
}

.profile-about{
        height: 165px;
    border: 1px solid #C9C9C9;
    border-radius: 18px;
    padding: 15px;
    background-color: white;
}



.badges-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.badge-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.badge-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.badge-icon img{
        width: 42px;
}
.profile-sectio-membership{
    width: 100%;
    margin-top: 50px;
}

.profile-sectio-membership h3{
    font-family: "Roboto Slab", serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    color: #000000;
    margin: 0 0 2px 0;
    padding-bottom: 10px;
}
.badge-details h4 {
    font-family: "Roboto Slab", serif;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

.badge-details p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    width: 30%;
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 12px;
    flex-direction: column;
    gap: 5px;
}



.info-label {
    font-family: "Roboto Slab", serif;
    font-weight: 500;
    font-size: 14px;
    color: #000000;
    line-height: 16px;
}

.info-value {
   
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    text-align: right;
    max-width: 70%;
    word-break: break-word;
}

.overview-item h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.overview-item p {
    margin: 0;
}

/* Edit Profile Page */
.edit-profile-container {
    max-width: 1440px;
    
    
}

.edit-profile-container h1 {
    font-family: "Roboto Slab", serif;
    color: #141414;
    font-weight: 600;
    font-size: 42px;
    line-height: 69px;
    margin-bottom: 20px;
}

.group-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .group-icon {
            font-size: 60px;
        }
        
        .group-content {
            padding: 20px;
        }

         .group-content h3{
            font-family: "Open Sans", sans-serif;
             margin-bottom: 5px;
            font-size: 22px;
            font-weight: 700;
            color: #000000;
            margin: 0 0 10px 0;
         }
.directory-header h1{
    font-family: "Roboto Slab", Sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 69px;
    color: #141414;
}

        
        .group-title {
             font-family: "Open Sans", sans-serif;
             margin-bottom: 5px;
            font-size: 22px;
            font-weight: 700;
            color: #000000;
            margin: 0 0 10px 0;
        }
        
        .group-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        .group-content .group-meta p{
                font-family: "Open Sans", sans-serif !important;
    color: #000000 !important;
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 15px;
    display: -webkit-box;
    
    overflow: hidden;
        }
        
        .group-type-badge {
            padding: 4px 12px;
            background: #3954A5;
            color: white;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }
        
        .group-members {
            font-size: 14px;
            color: #666;
        }
        
        .group-description {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
            margin-bottom: 15px;
        }
        
        .group-actions {
            display: flex;
            gap: 10px;
        }

.directory-group-card .group-image .group-image img{
           width: 100%;
            height: 100%;
            object-fit: cover;
            width: 100% !important;
        }
        
        .group-image {
            width: 100%;
            height: 180px;
            overflow: hidden;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .group-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            width: 100% !important;
        }

.form-section {
    background: #9DA2D026;
    padding: 24px;
    border-radius: 24px;
    
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
    color: #333;
}

.section-desc {
    color: #666;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-col.full {
    grid-column: 1 / -1;
}

.form-col label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-col input[type="text"],
.form-col input[type="email"],
.form-col input[type="tel"],
.form-col input[type="date"],
.form-col input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.form-col input:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

.profile-image-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.profile-image-upload img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ddd;
}

.profile-image-upload input[type="file"] {
    font-size: 12px;
}

.change-link {
    color: #5568E5;
    text-decoration: none;
    font-size: 13px;
    margin-left: 10px;
}

.form-actions {
    margin-bottom: 60px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    
}

.edit-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
.btn-discard {
    padding: 12px 20px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 27px;
    
    
    background-color: #D1A52A !important;
    color: white;
}

.btn-discard:hover {
     background-color: #3954A5 !important;
}

.btn-update {
    padding: 12px 20px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 27px;
    background-image: url(https://www.imagotexas.com/wp-content/uploads/2025/12/Background.png) !important;
    background-repeat: no-repeat !important;
    background-position: 6px center !important;
    background-size: 40px 40px !important;
    padding-left: 55px !important;
    background-color: #3954A5 !important;
    color: white;
}

.btn-update:hover {
    background-color: #D1A52A !important;
}

.form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-actions {
        margin-left: 0;
    }
    
    .profile-content {
        grid-template-rows: 1fr 0fr !important;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

/* Add this to your style.css file */

/* Membership Card Styles */
.membership-card {
    height: 165px;
    border: 1px solid #C9C9C9;
    border-radius: 18px;
    padding: 15px;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.membership-price {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 8px;
    
}

.price-amount {
    font-size: 22px;
    line-height: 27px;
    font-weight: 500;
    color: #000000;
    font-family: "Roboto Slab", serif;
}

.price-period {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.membership-plan-name {
    font-family: "Roboto Slab", serif;
    font-size: 18px;
    font-weight: 700;
    
   color: #000000;
}

.membership-actions {
    display: flex;
    gap: 12px;
    
    align-items: center;
}

.membership-card-top{
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.btn-switch-plan {
        flex: 1;
    padding: 20px 19px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 27px;
    background-image: url(https://imago.tdtrg.com/wp-content/uploads/2025/12/Background.png) !important;
    background-repeat: no-repeat !important;
    background-position: 6px center !important;
    background-size: 40px 40px !important;
    padding-left: 56px !important;
    background-color: #3954A5 !important;
    color: white;

}

.profile-section-events{
    margin-top: 100px;
}

.btn-switch-plan:hover {
   background-color: #D1A52A !important;
    color: white;
}

.btn-cancel-membership {
    height: 65px !important;
    padding: 12px 20px;
    border-radius: 100px;
    cursor: pointer;
    background-color: red !important;
    border: 1px solid red;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 27px !important;
    color: white;
}

.btn-cancel-membership:hover {
    color: red;
    background-color: none !important;
    border: 1px solid red;
}

/* Profile badges styling */


.profile-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 17px;
    background: #FFFFFF;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #3954A5;
}



/* Modal for cancel confirmation */
.cancel-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.cancel-modal.active {
    display: flex;
}

.cancel-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cancel-modal-header {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2c3e50;
}

.cancel-modal-body {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 24px;
    line-height: 1.6;
}

.cancel-modal-actions {
    display: flex;
    gap: 12px;
}
.profile-left{
    display: flex;
    gap: 30px;
    height: fit-content;
}
.profile-right{
    display: flex;
    gap: 30px;
    height: fit-content;
}

.modal-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn-cancel {
    background: #e74c3c;
    color: #fff;
}

.modal-btn-cancel:hover {
    background: #c0392b;
}

.modal-btn-keep {
    background: #ecf0f1;
    color: #2c3e50;
}

.modal-btn-keep:hover {
    background: #bdc3c7;
}

@media (max-width: 768px) {
    .membership-actions {
        flex-direction: column;
    }
    
    .profile-content {
        flex-direction: column;
    }
    
    .profile-left,
    .profile-right {
        width: 100%;
    }
}

/* No Subscription Card Styles */
.membership-card.no-subscription {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
}

.no-subscription-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-subscription-text {
    margin-bottom: 25px;
}

.no-subscription-text h4 {
    font-size: 20px;
    font-weight: 600;
    color: #495057;
    margin: 0 0 10px 0;
}

.no-subscription-text p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-view-plans {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-view-plans:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .membership-card.no-subscription {
        padding: 30px 20px;
    }
    
    .no-subscription-icon {
        font-size: 40px;
    }
    
    .no-subscription-text h4 {
        font-size: 18px;
    }
    
    .no-subscription-text p {
        font-size: 13px;
    }
}

/* ========================================
   THERAPIST DIRECTORY GRID
======================================== */

.therapist-directory {
    padding: 40px 20px;
    max-width: 1440px;
    margin: 0 auto;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
}

.therapist-card {
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    
    overflow: hidden;
    
    position: relative;
}



.card-tagline{
     font-family: "Open Sans", sans-serif;
     margin-bottom: 0px !important;
     font-size: 16px;
     line-height: 27px;
     color: rgba(0, 0, 0, 0.70);
}

.card-link {
    display: block;
    text-decoration: none !important;
    outline: none !important;
    color: inherit;
}

.card-image {
    width: 100%;
    height: 348px;
    overflow: hidden;
    border-radius: 20px;
    
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.therapist-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding-bottom: 10px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-name {
    font-family: "Roboto Slab", serif;
    font-size: 20px;
    font-weight: 600;
line-height: 27px;
    color: #000000;
    margin: 0 0 5px 0;
    text-decoration: none;
    margin-bottom: 0px !important;
}

.card-title {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    line-height: 27px;
    font-size: 14px;
    color: #D1A52A;
    margin: 0px !important;
    
}

.card-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mini-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 2px solid #e9ecef;
    cursor: help;
}



.no-therapists {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

/* ========================================
   PUBLIC PROFILE PAGE
======================================== */

.public-profile-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
}

.public-profile-up{
    background-color: #9DA2D026;
    padding: 24px;
    border-radius: 24px;
}

.profile-header-public {
    background: #3954A5;
    padding: 40px !important;
    position: relative;
    border-radius: 24px 24px 0px 0px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-tagline-public{
    margin: 0 !important;
}

.profile-tagline{
    margin: 0 !important;
}

.header-content {
    display: flex;
    gap: 30px;
    align-items: center !important;
}

.profile-avatar-large {
    flex-shrink: 0;
}

.profile-avatar-large img {
    width: 150px !important;
    height: 150px !important;
    border-radius: 100% !important;
    
    object-fit: cover;
}

.profile-info-public {
    flex: 1;
}

.profile-name-public {
    font-family: "Roboto Slab", serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 27px;
    
    color: #fff;
}

.profile-title-public {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 16px 0;
}

.profile-badges-public {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 17px;
    background: #FFFFFF;
    
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #3954A5;
    
}

.btn-close-public {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close-public:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.profile-content-public {
   
    
    margin-top: 40px;
}



.section-title-public {
     font-family: "Roboto Slab", serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    color: #000000;
    margin: 0 0 2px 0;
    padding-bottom: 10px;
    
}





.profile-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}



.badge-item-public {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    
   
    
}
.badge-item-public img{
    width: 42px;
}

.badge-icon-large {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}



.badge-details-public p {
    font-family: "Open Sans", sans-serif;
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    
    margin: 0;
    
}

.info-list-public {
    display: flex;
    flex-direction: column;
    
}



.info-label-public {
    font-family: "Roboto Slab", serif;
    font-weight: 500;
    font-size: 14px;
    color: #000000;
    line-height: 16px;
    
}



/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 768px) {
.events-landing-header{
    justify-content: center !important;
}
    .filter-dropdown{
        width: 100%;
    }
    .filter-select{
        width: 100%;
    }
    .directory-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .therapist-directory {
        padding: 20px 10px;
    }
    
    .card-image {
        height: 240px;
    }
    
    .profile-header-public {
        padding: 30px 20px;
        border-radius: 24px 24px 24px 24px;
    }

    .event-card-public{
        padding-bottom: 20px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-info-public {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .profile-badges-public {
        justify-content: center;
    }
    
    
    
    .profile-two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .info-item-public {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-value-public {
        text-align: left;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .directory-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-name-public {
        font-size: 24px;
    }
    
    .btn-close-public {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}
.profile-info-public {
    flex: 1;
}

.profile-name-public {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
}

.profile-name{
    font-family: "Roboto Slab", serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
    line-height: 27px;

}
.profile-title{
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 16px 0;
}

.profile-badges-public {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}



.btn-close-public {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close-public:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}







.section-content {
    height: 149px;
    border: 1px solid #C9C9C9;
    border-radius: 18px;
    padding: 15px;
    background-color: white;
}

.section-content p {
     color: rgba(0, 0, 0, 0.5);
     font-weight: 400;
     font-size: 18px;
     line-height: 25px;
     font-family: "Open Sans", sans-serif;
     margin: 0 !important;


}

.section-content h4 {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #34495e;
    margin: 0 0 8px 0;
}

.profile-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.badges-list-public {
    background-color: white;
    padding: 15px;
    border: 1px solid #C9C9C9;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 18px;
}



.badge-icon-large {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}

.badge-details-public h4 {
    font-family: "Roboto Slab", serif;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

.section-title-public-events{
    font-family: "Roboto Slab", serif;
    color: #141414;
    font-weight: 600;
    font-size: 42px;
    line-height: 69px;
    margin-bottom: 20px;

}


.info-list-public {

    background-color: #FFFFFF;
    padding: 10px;
height: 149px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
    border: 1px solid #C9C9C9;
    border-radius: 18px;
}

.info-item-public {
    width: 30%;
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 12px;
   flex-direction: column;
   gap: 5px;
   
}



.info-value-public {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
  color: rgba(0, 0, 0, 0.5);;
    font-size: 14px;
    text-align: right;
    max-width: 70%;
    word-break: break-word;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 768px) {
    
    .directory-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .therapist-directory {
        padding: 20px 10px;
    }
    
    .card-image {
        height: 240px;
    }
    
    .profile-header-public {
        padding: 30px 20px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-info-public {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .profile-badges-public {
        justify-content: center;
    }
    
    
    
    .profile-two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .info-item-public {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-value-public {
        text-align: left;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .public-profile-page{
        padding-left: 20px;
        padding-right: 20px;
    }
    .directory-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-name-public {
        font-size: 24px;
    }
    
    .btn-close-public {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}



/* Add these to your style.css file */

/* Events Section */
.user-events-section {
    margin: 30px 0;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.events-header h3 {
    font-family: "Roboto Slab", serif;
    color: #141414;
    font-weight: 600;
    font-size: 42px;
    line-height: 69px;
    margin-bottom: 20px;
}

.btn-add-event {
    
    padding: 12px 20px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 27px;
    background-image: url(https://imago.tdtrg.com/wp-content/uploads/2025/12/Background.png) !important;
    background-repeat: no-repeat !important;
    background-position: 6px center !important;
    background-size: 40px 40px !important;
    padding-left: 55px !important;
    background-color: #3954A5 !important;
    color: white;
}

.btn-add-event:hover {
    background-color: #D1A52A !important;
    color: white;
}

.no-permission-text {
    color: #999;
    font-size: 14px;
    font-style: italic;
}

.events-subtitle {
    color: #000000;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 27px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.event-card {
       background: white;
    border-radius: 16px;
    border: 1px solid #DEDEDE;
    overflow: hidden;
    cursor: pointer;
}



.event-image {
   position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.event-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.calendar-icon {
    font-size: 60px;
}

.event-date-badge {
        position: absolute;
    top: 15px;
    left: 15px;
    background: #3954A5;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.event-date-badge span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: white;
    font-weight: 600;
}

.event-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    height: 66%;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta span i{
        color: #D1A52A !important;
    font-size: 14px !important;
}

.event-title {
    font-family: "Roboto Slab", serif;
    color: #000000;
    font-size: 24px;
    line-height: 27px;
    margin-bottom: 12px;
}

.event-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.event-tag {
        padding: 4px 14px;
    background: #0000000D;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #000000;
    font-family: "Open Sans", sans-serif;
}

.btn-event-learn-more {
    
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    background: #FFA726;
    color: white;
}

.event-description {
    font-family: "Open Sans", sans-serif;
    color: #000000;
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 15px;
    display: -webkit-box;
    
    overflow: hidden;
}

.event-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.btn-event-register,
.btn-event-rsvp {
    flex: 1;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-event-register {
    background: #3F5FBF;
    color: white;
}

.btn-event-register:hover {
    background: #2d4494;
}

.btn-event-rsvp {
    background: #FFA726;
    color: white;
}

.btn-event-rsvp:hover {
    background: #FB8C00;
}

.btn-event-edit,
.btn-event-delete {
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}
.btn-event-delete{
    display: none !important;
}

.btn-event-edit:hover {
    background: #f0f0f0;
}

.btn-event-delete:hover {
    background: #fee;
    border-color: #fcc;
}

.no-events {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-events p {
    margin: 10px 0;
}

/* Event Modal */
.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
}

.event-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 80%;
    max-height: 95vh;
    overflow-y: auto;
    padding-bottom: 40px;
   
}

.event-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    align-items: center;
    height: 250px;
    
    
}

.event-modal-header h2 {
    margin: 0;
    font-size: 64px;
    font-weight: 600;
    color: #141414;
    font-family: "Roboto Slab", serif;
    margin-bottom: 0px !important;
    margin-top: 30px;
}

.event-modal-close {
    background: #475BA0;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    position: absolute;
    top: 51px;
    right: 50px;
}

.event-modal-close:hover {
    background: #f0f0f0;
    color: black;
}
.file-upload-container {
    width: 100%;
}

.drop-area {
    border: 2px dashed #E0E0E0;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #FAFAFA;
}

.drop-area:hover {
    border-color: #FF8C42;
    background-color: #FFF5EF;
}

.drop-area.drag-over {
    border-color: #FF8C42;
    background-color: #FFF5EF;
    transform: scale(1.02);
}

.upload-text {
    margin: 15px 0 5px 0;
    font-size: 16px;
    color: #333;
}

.upload-text strong {
    color: #FF8C42;
}

.upload-subtext {
    margin: 0;
    font-size: 14px;
    color: #999;
}

#current_image_preview img {
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#eventForm {
    padding: 24px;
    width: 80%;
    justify-self: center;
    border: 1px solid #DEDEDE !important;
    border-radius: 24px !important;
    padding: 32px 20px 32px 20px !important;
}
#eventForm img{
    width: 100%;
    height: 294px;
    object-fit: cover;
    border-radius: 24px 24px 0px 0px;
    margin-bottom: 30px;
}

.event-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 25px;
}

.event-form-col {
    flex: 1;
}

.event-form-col.full {
    flex: 1 1 100%;
}

.event-form-col label {
    font-family: "Roboto Slab", serif;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000;
    font-size: 14px;
}

.event-form-col input[type="text"],
.event-form-col input[type="email"],
.event-form-col input[type="url"],
.event-form-col input[type="date"],
.event-form-col input[type="time"],
.event-form-col input[type="file"],
.event-form-col textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #F0F0F0 !important;
    background-color: white !important;
    border-radius: 100px !important;
    font-size: 14px;
    transition: border-color 0.3s;
}

#event_description{
    border-radius: 16px !important;
}

.event-form-col input:focus,
.event-form-col textarea:focus {
    outline: none;
    border-color: #3F5FBF;
}

.event-form-col textarea {
    resize: vertical;
    font-family: inherit;
}

.event-tags-checkboxes {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.event-tags-checkboxes label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
    cursor: pointer;
}

.event-tags-checkboxes input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.event-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.btn-event-cancel,
.btn-event-submit {
    padding: 12px 20px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 27px;
}

.btn-event-cancel {
        background: #D1A52A;
    border: 1px solid #D1A52A;
    color: white;
}

.btn-event-cancel:hover {
        background: none;
    border: 1px solid #D1A52A;
    color: #D1A52A;
}

.btn-event-submit {
    background-image: url(https://imago.tdtrg.com/wp-content/uploads/2025/12/Background.png) !important;
    background-repeat: no-repeat !important;
    background-position: 6px center !important;
    background-size: 40px 40px !important;
    padding-left: 52px !important;
}

.btn-event-submit:hover {
        background-color: #D1A52A !important;
    color: white;
}

.btn-event-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.event-form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 6px;
    display: none;
    font-size: 14px;
}

.event-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.event-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .events-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .event-modal-content {
        margin: 20px;
    }
}

/* ========================================
   RESPONSIVE UPDATES - ADD TO YOUR CSS FILE
======================================== */

/* Tablet and smaller (max-width: 1024px) */
@media (max-width: 1024px) {
    .profile-sectio-membership{
        margin-top: 0px;
    }
    .auth-title {
        font-size: 48px;
        line-height: 56px;
    }
    
    .auth-note {
        width: 100%;
        max-width: 513px;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .profile-section {
        width: 100%;
    }
    
    .profile-left,
    .profile-right {
        flex-direction: column;
    }
    
    .profile-two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .directory-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .event-modal-content {
        max-width: 90%;

    }
    
    #eventForm {
        width: 95%;
    }
    .events-subtitle{
        margin-top: 20px;
        text-align: center;
    }
    .btn-event-edit{
        margin-top: 10px;
        padding: 15px 15px;
    }
}

/* Mobile landscape and smaller tablets (max-width: 768px) */
@media (max-width: 768px) {

    .card-arrow{
        position: static;
    }

    .profile-container{
        padding-left:20px;
        padding-right:20px;
        }

    .auth-container {
        padding: 10px;
        
    }

    .action-container{
        flex-direction: column-reverse !important;
        gap: 20px !important;
    }
    
    .auth-title {
        font-size: 36px;
        line-height: 42px;
        letter-spacing: -1px;
    }
    
    .auth-logo img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .auth-form {
        padding: 20px;
    }
    
    /* Profile Header */
    .profile-header {
        padding: 24px !important;
        flex-direction: column;
    }
    
    .profile-info-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .action-container {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-actions {
        margin-left: 0;
        width: 100%;
        flex-direction: column;
    }
    
    .btn-edit-profile,
    .btn-menu {
        width: 100%;
    }
    
    .profile-joined {
        position: static;
        text-align: center;
        margin-top: 10px;
    }
    
    .profile-badges {
        justify-content: center;
    }
    
    .profile-avatar img {
        width: 120px !important;
        height: 120px !important;
    }
    
    .profile-info h1 {
        font-size: 24px;
    }
    
    /* Profile Content */
    .profile-up {
        padding: 16px;
    }
    
    .profile-left,
    .profile-right {
        flex-direction: column;
        gap: 20px;
    }
    
    .info-div {
        flex-direction: column;
    }
    
    .info-item {
        width: 100%;
    }
    
    .info-value {
        max-width: 100%;
        text-align: left;
    }
    
    /* Membership Section */
    .membership-card {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }
    
    .membership-card-top {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .membership-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-switch-plan,
    .btn-cancel-membership {
        width: 100%;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    /* Edit Profile */
    .edit-profile-container h1,
    .directory-header h1 {
        font-size: 32px;
        line-height: 40px;
    }
    
    .edit-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .form-section {
        padding: 16px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-discard,
    .btn-update {
        width: 100%;
    }
    
    /* Directory Grid */
    .directory-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }
    
    .card-image {
        height: 280px;
    }
    
    /* Public Profile */
    .profile-header-public {
        padding: 24px !important;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar-large img {
        width: 120px !important;
        height: 120px !important;
    }
    
    .profile-name-public {
        font-size: 24px;
    }
    
    .profile-badges-public {
        justify-content: center;
    }
    
    .btn-close-public {
        top: 10px;
        right: 10px;
    }
    
    .section-content {
        height: auto;
        min-height: 149px;
    }
    
    .info-list-public {
        flex-direction: column;
        height: auto;
    }
    
    .info-item-public {
        width: 100%;
    }
    
    .info-value-public {
        max-width: 100%;
        text-align: left;
    }
    
    /* Events Section */
    .events-header {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .events-header h3,
    .section-title-public-events {
        font-size: 32px;
        line-height: 40px;
    }
    
    .btn-add-event {
        width: 50%;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-modal-content {
        max-width: 95%;
        padding-bottom: 20px;
                padding-left: 10px;
        padding-right: 10px;
    }
    
    .event-modal-header h2 {
        font-size: 36px;
        text-align: center;
    }
    
    .event-modal-close {
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    
    #eventForm {
        width: 100%;
        padding: 20px !important;
    }
    
    .event-form-row {
        flex-direction: column;
    }
    
    .event-form-actions {
        flex-direction: column;
    }
    
    .btn-event-cancel,
    .btn-event-submit {
        width: 100%;
    }

    .groups-header{
        flex-direction: column;
    }

    .groups-subtitle{
        text-align: center;
        margin-top: 20px;
    }
    .therapist-card{
        background: #F5F6FA;
    }
}

/* Mobile portrait (max-width: 480px) */
@media (max-width: 480px) {
    .auth-title {
        font-size: 28px;
        line-height: 34px;
    }
    
    .auth-subtitle,
    .auth-note {
        font-size: 14px;
        line-height: 22px;
    }
    
    .auth-box {
        max-width: 100%;
    }
    
    .profile-header {
        padding: 20px !important;
        border-radius: 16px 16px 16px 16px !important;
    }
    
    .profile-up {
        padding: 12px;
        border-radius: 16px;
    }
    
    .profile-info h1,
    .profile-name {
        font-size: 20px;
    }
    
    .profile-title {
        font-size: 14px;
    }
    
    .badge {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    .profile-section h3 {
        font-size: 16px;
    }
    
    .profile-section p {
        font-size: 14px;
        line-height: 20px;
    }
    
    .profile-about {
        height: auto;
        min-height: 120px;
    }
    
    .directory-grid {
        grid-template-columns: 1fr;
    }
    
    .card-image {
        height: 240px;
    }
    
    .card-name {
        font-size: 18px;
    }
    
    .therapist-card {
        max-width: 100%;
    }
    
    .profile-name-public {
        font-size: 20px;
    }
    
    .profile-title-public {
        font-size: 14px;
    }
    
    .badge-pill {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    .event-image {
        height: 180px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .event-content {
        padding: 15px;
    }
    
    .event-meta {
        font-size: 12px;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .btn-event-register,
    .btn-event-learn-more{
        width: 100%;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .event-modal-header h2 {
        font-size: 28px;
    }
    
    .event-modal-header {
        height: auto;
        padding: 20px;
    }
    
    .events-header h3,
    .section-title-public-events {
        font-size: 30px;
        line-height: 32px;
    }
    
    .btn-edit-profile {
        background-size: 32px 32px !important;
        padding-left: 48px !important;
        font-size: 14px;
    }
    
    .btn-switch-plan {
        background-size: 40px 40px !important;
        padding-left: 20px !important;
        font-size: 14px;
    }
    
    .btn-event-submit {
        background-size: 32px 32px !important;
        padding-left: 44px !important;
        font-size: 14px;
    }
    
    .form-section {
        padding: 12px;
        border-radius: 16px;
    }
    
    .form-col label {
        font-size: 13px;
    }
    
    .form-col input,
    .form-col textarea {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* Extra small devices (max-width: 360px) */
@media (max-width: 360px) {
    .auth-title {
        font-size: 24px;
        line-height: 30px;
    }
    
    .auth-form {
        padding: 16px;
        border-radius: 16px;
    }
    
    .profile-avatar img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .profile-avatar-large img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .badge-icon img {
        width: 32px;
    }
    
    .badge-item-public img {
        width: 32px;
    }
    
    .event-image {
        height: 160px;
    }
    
    .calendar-icon {
        font-size: 40px;
    }
}