.gtranslate_wrapper {
    display: none !important;
}

/* Authentication Page Styles */
.ymi-auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.ymi-auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 600px;
}

.ymi-auth-left {
    background: linear-gradient(140deg, #84B64E 0%, #0C71B5 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.ymi-auth-bg {
    padding: 60px 40px;
    text-align: center;
}

.ymi-auth-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ymi-auth-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.ymi-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ymi-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.ymi-icon {
    font-size: 1.5rem;
}

.ymi-auth-right {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ymi-tab-nav {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 2px solid #e2e8f0;
}

.ymi-tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.ymi-tab-btn.active {
    color: #0C71B5;
    border-bottom-color: #0C71B5;
}

.ymi-tab-content {
    display: none;
}

.ymi-tab-content.active {
    display: block;
}

.ymi-tab-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.ymi-subtitle {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.ymi-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ymi-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ymi-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ymi-form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.ymi-form-group input,
.ymi-form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.ymi-form-group input:focus,
.ymi-form-group textarea:focus {
    outline: none;
    border-color: #0C71B5;
}

.ymi-help-text {
    color: #64748b;
    font-size: 0.85rem;
}

.ymi-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.ymi-btn-primary {
    background-image: linear-gradient(140deg, #84B64E 0%, #0C71B5 100%);
    color: white;
}

.ymi-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 113, 181, 0.3);
}

.ymi-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.ymi-btn-secondary:hover {
    background: #e2e8f0;
}

.ymi-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 500;
}

.ymi-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.ymi-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Dashboard Styles */
.ymi-dashboard {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.ymi-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.ymi-sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.ymi-sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.ymi-sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.ymi-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.ymi-nav-item:hover,
.ymi-nav-item.active {
    background: #f1f5f9;
    color: #0C71B5;
    border-left-color: #0C71B5;
}

.ymi-nav-icon {
    font-size: 1.2rem;
}

.ymi-nav-text {
    font-weight: 500;
}

.ymi-sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
}

.ymi-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ymi-user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(140deg, #84B64E 0%, #0C71B5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.ymi-user-details {
    flex: 1;
}

.ymi-user-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.ymi-user-email {
    color: #64748b;
    font-size: 0.85rem;
}

.ymi-main-content {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
}

.ymi-header {
    background: white;
    padding: 30px 40px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ymi-header-left h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.ymi-header-left p {
    color: #64748b;
    font-size: 1.1rem;
}

.ymi-content {
    flex: 1;
    padding: 40px;
}

.ymi-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.ymi-property-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.ymi-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.ymi-property-image {
    width: 100%;
    height: 200px;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 3rem;
    overflow: hidden;
}

.ymi-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ymi-property-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.3;
}

.ymi-property-excerpt {
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.5;
}

.ymi-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #64748b;
}

.ymi-property-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ymi-property-actions {
    display: flex;
    gap: 10px;
}

.ymi-btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
}

.ymi-btn-edit {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.ymi-btn-delete {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.ymi-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
}

.ymi-empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.ymi-empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #374151;
}

.ymi-empty-state p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Property Form Wrapper */
.ymi-property-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.ymi-image-upload {
    margin-top: 8px;
}

.ymi-image-preview {
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ymi-image-preview:hover {
    border-color: #0C71B5;
    background: #f8fafc;
}

.ymi-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #64748b;
}

.ymi-upload-icon {
    font-size: 2rem;
}

.ymi-image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
}

.ymi-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Form Section Titles */
.ymi-form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0C71B5;
}

/* Gallery Grid */
.ymi-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.ymi-gallery-item {
    position: relative;
}

.ymi-gallery-item .ymi-image-preview {
    cursor: pointer;
}

/* Tabs Container */
.ymi-tabs-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.ymi-tab-item {
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ymi-small-preview {
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ymi-auth-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .ymi-auth-left {
        display: none;
    }
    
    .ymi-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .ymi-sidebar.open {
        transform: translateX(0);
    }
    
    .ymi-main-content {
        margin-left: 0;
    }
    
    .ymi-header {
        padding: 20px;
    }
    
    .ymi-content {
        padding: 20px;
    }
    
    .ymi-properties-grid {
        grid-template-columns: 1fr;
    }
    
    .ymi-form-row {
        grid-template-columns: 1fr;
    }
    
    .ymi-property-form-wrapper {
        padding: 20px;
    }
    
    .ymi-form-actions {
        flex-direction: column;
    }
    
    .ymi-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ymi-form-section-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .ymi-auth-container {
        padding: 10px;
    }
    
    .ymi-auth-right {
        padding: 40px 20px;
    }
    
    .ymi-auth-content h1 {
        font-size: 2rem;
    }
    
    .ymi-tab-content h2 {
        font-size: 1.5rem;
    }
}

/* Loading States */
.ymi-loading {
    opacity: 0.6;
    pointer-events: none;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ymi-property-card {
    animation: fadeIn 0.5s ease;
}

/* WYSIWYG Editor Styles */
#wp-property-description-wrap,
#wp-benefits-section-description-wrap,
#wp-investment-section-content-wrap,
#wp-features-content-wrap,
#wp-floor-plans-section-content-wrap,
#wp-project-insights-content-wrap {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

#wp-property-description-wrap .wp-editor-wrap,
#wp-benefits-section-description-wrap .wp-editor-wrap,
#wp-investment-section-content-wrap .wp-editor-wrap,
#wp-features-content-wrap .wp-editor-wrap,
#wp-floor-plans-section-content-wrap .wp-editor-wrap,
#wp-project-insights-content-wrap .wp-editor-wrap {
    border: none;
}

#wp-property-description-wrap .wp-editor-container,
#wp-benefits-section-description-wrap .wp-editor-container,
#wp-investment-section-content-wrap .wp-editor-container,
#wp-features-content-wrap .wp-editor-container,
#wp-floor-plans-section-content-wrap .wp-editor-container,
#wp-project-insights-content-wrap .wp-editor-container {
    border: none;
}

#wp-property-description-wrap .mce-toolbar,
#wp-benefits-section-description-wrap .mce-toolbar,
#wp-investment-section-content-wrap .mce-toolbar,
#wp-features-content-wrap .mce-toolbar,
#wp-floor-plans-section-content-wrap .mce-toolbar,
#wp-project-insights-content-wrap .mce-toolbar {
    border-bottom: 1px solid #e2e8f0;
}

#wp-property-description-wrap .mce-statusbar,
#wp-benefits-section-description-wrap .mce-statusbar,
#wp-investment-section-content-wrap .mce-statusbar,
#wp-features-content-wrap .mce-statusbar,
#wp-floor-plans-section-content-wrap .mce-statusbar,
#wp-project-insights-content-wrap .mce-statusbar {
    border-top: 1px solid #e2e8f0;
}

#wp-property-description-wrap .mce-panel,
#wp-benefits-section-description-wrap .mce-panel,
#wp-investment-section-content-wrap .mce-panel,
#wp-features-content-wrap .mce-panel,
#wp-floor-plans-section-content-wrap .mce-panel,
#wp-project-insights-content-wrap .mce-panel {
    background: #f8fafc;
}

#wp-property-description-wrap .mce-toolbar .mce-btn,
#wp-benefits-section-description-wrap .mce-toolbar .mce-btn,
#wp-investment-section-content-wrap .mce-toolbar .mce-btn,
#wp-features-content-wrap .mce-toolbar .mce-btn,
#wp-floor-plans-section-content-wrap .mce-toolbar .mce-btn,
#wp-project-insights-content-wrap .mce-toolbar .mce-btn {
    background: transparent;
    border: none;
    border-radius: 4px;
    margin: 2px;
}

#wp-property-description-wrap .mce-toolbar .mce-btn:hover,
#wp-benefits-section-description-wrap .mce-toolbar .mce-btn:hover,
#wp-investment-section-content-wrap .mce-toolbar .mce-btn:hover,
#wp-features-content-wrap .mce-toolbar .mce-btn:hover,
#wp-floor-plans-section-content-wrap .mce-toolbar .mce-btn:hover,
#wp-project-insights-content-wrap .mce-toolbar .mce-btn:hover {
    background: #e2e8f0;
}

#wp-property-description-wrap .mce-toolbar .mce-btn.mce-active,
#wp-benefits-section-description-wrap .mce-toolbar .mce-btn.mce-active,
#wp-investment-section-content-wrap .mce-toolbar .mce-btn.mce-active,
#wp-features-content-wrap .mce-toolbar .mce-btn.mce-active,
#wp-floor-plans-section-content-wrap .mce-toolbar .mce-btn.mce-active,
#wp-project-insights-content-wrap .mce-toolbar .mce-btn.mce-active {
    background: #0C71B5;
    color: white;
}

#wp-property-description-wrap .mce-edit-area,
#wp-benefits-section-description-wrap .mce-edit-area,
#wp-investment-section-content-wrap .mce-edit-area,
#wp-features-content-wrap .mce-edit-area,
#wp-floor-plans-section-content-wrap .mce-edit-area,
#wp-project-insights-content-wrap .mce-edit-area {
    background: white;
}

#wp-property-description-wrap .mce-content-body,
#wp-benefits-section-description-wrap .mce-content-body,
#wp-investment-section-content-wrap .mce-content-body,
#wp-features-content-wrap .mce-content-body,
#wp-floor-plans-section-content-wrap .mce-content-body,
#wp-project-insights-content-wrap .mce-content-body {
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* Quicktags */
#wp-property-description-wrap .quicktags-toolbar,
#wp-benefits-section-description-wrap .quicktags-toolbar,
#wp-investment-section-content-wrap .quicktags-toolbar,
#wp-features-content-wrap .quicktags-toolbar,
#wp-floor-plans-section-content-wrap .quicktags-toolbar,
#wp-project-insights-content-wrap .quicktags-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px;
}

#wp-property-description-wrap .quicktags-toolbar input,
#wp-benefits-section-description-wrap .quicktags-toolbar input,
#wp-investment-section-content-wrap .quicktags-toolbar input,
#wp-features-content-wrap .quicktags-toolbar input,
#wp-floor-plans-section-content-wrap .quicktags-toolbar input,
#wp-project-insights-content-wrap .quicktags-toolbar input {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 6px 12px;
    margin: 2px;
    font-size: 12px;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

#wp-property-description-wrap .quicktags-toolbar input:hover,
#wp-benefits-section-description-wrap .quicktags-toolbar input:hover,
#wp-investment-section-content-wrap .quicktags-toolbar input:hover,
#wp-features-content-wrap .quicktags-toolbar input:hover,
#wp-floor-plans-section-content-wrap .quicktags-toolbar input:hover,
#wp-project-insights-content-wrap .quicktags-toolbar input:hover {
    background: #f1f5f9;
    border-color: #0C71B5;
}

#wp-property-description-wrap .quicktags-toolbar input:active,
#wp-benefits-section-description-wrap .quicktags-toolbar input:active,
#wp-investment-section-content-wrap .quicktags-toolbar input:active,
#wp-features-content-wrap .quicktags-toolbar input:active,
#wp-floor-plans-section-content-wrap .quicktags-toolbar input:active,
#wp-project-insights-content-wrap .quicktags-toolbar input:active {
    background: #0C71B5;
    color: white;
    border-color: #0C71B5;
}

/* Responsive WYSIWYG */
@media (max-width: 768px) {
    #wp-property-description-wrap .mce-toolbar,
    #wp-benefits-section-description-wrap .mce-toolbar,
    #wp-investment-section-content-wrap .mce-toolbar,
    #wp-features-content-wrap .mce-toolbar,
    #wp-floor-plans-section-content-wrap .mce-toolbar,
    #wp-project-insights-content-wrap .mce-toolbar {
        padding: 5px;
    }
    
    #wp-property-description-wrap .mce-toolbar .mce-btn,
    #wp-benefits-section-description-wrap .mce-toolbar .mce-btn,
    #wp-investment-section-content-wrap .mce-toolbar .mce-btn,
    #wp-features-content-wrap .mce-toolbar .mce-btn,
    #wp-floor-plans-section-content-wrap .mce-toolbar .mce-btn,
    #wp-project-insights-content-wrap .mce-toolbar .mce-btn {
        padding: 4px 6px;
        font-size: 12px;
    }
    
    #wp-property-description-wrap .quicktags-toolbar,
    #wp-benefits-section-description-wrap .quicktags-toolbar,
    #wp-investment-section-content-wrap .quicktags-toolbar,
    #wp-features-content-wrap .quicktags-toolbar,
    #wp-floor-plans-section-content-wrap .quicktags-toolbar,
    #wp-project-insights-content-wrap .quicktags-toolbar {
        padding: 5px;
    }
    
    #wp-property-description-wrap .quicktags-toolbar input,
    #wp-benefits-section-description-wrap .quicktags-toolbar input,
    #wp-investment-section-content-wrap .quicktags-toolbar input,
    #wp-features-content-wrap .quicktags-toolbar input,
    #wp-floor-plans-section-content-wrap .quicktags-toolbar input,
    #wp-project-insights-content-wrap .quicktags-toolbar input {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
