/* ===== PROFESSIONAL DESKTOP UI ===== */
/* Base Styles */
.custom-header {
    background-color: transparent !important;
}
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.8rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
}

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

.nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav a:hover {
    color: #2563eb;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    border: none;
}

.btn.login {
    background-color: transparent;
    border: 1px solid #d1d5db;
    color: #4b5563;
}

.btn.login:hover {
    background-color: #f3f4f6;
}

.btn.register {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.btn.register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

.lang-switch {
    padding: 0.7rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-switch:hover {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.hamburger {
    display: none;
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(to bottom, #f0f9ff, #ffffff);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn.primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

.btn.secondary {
    background: white;
    border: 1px solid #d1d5db;
    color: #2563eb;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn.secondary:hover {
    background-color: #f3f4f6;
}

.dashboard-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.browser-bar {
    background: #f1f5f9;
    padding: 0.8rem 1.2rem;
    display: flex;
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.dashboard-content {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.metric-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #64748b;
    font-weight: 500;
}

.social-preview {
    grid-column: span 2;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.social-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #93c5fd, #2563eb);
}

.user-info {
    flex: 1;
}

.username {
    font-weight: 600;
    color: #1e293b;
}

.platform {
    color: #64748b;
    font-size: 0.9rem;
}

.social-content p {
    color: #1e293b;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.product-card {
    display: flex;
    gap: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.product-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #bfdbfe, #3b82f6);
    border-radius: 8px;
}

.product-details {
    flex: 1;
}

.product-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: #1e293b;
}

.product-details p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.cta-button {
    color: #2563eb;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.2rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
}

/* Card Grid */
.grid {
    display: grid;
    gap: 2.5rem;
}

.templates .grid {
    grid-template-columns: repeat(3, 1fr);
}

.benefits .grid {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #dbeafe;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2563eb;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.logo {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social {
    display: flex;
    gap: 1.5rem;
}

.social a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.social a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .templates .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding-top: 6rem;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease-in-out;
    }
    
    .nav.open {
        left: 0;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 0 2rem;
        gap: 1.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .templates .grid,
    .benefits .grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}



/* Login Page Styles */
.login-container {
    display: flex;
    min-height: 100vh;
    background-color: #f8fafc;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.login-card {
    flex: 1;
    max-width: 500px;
    padding: 3rem 2rem;
    background: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.login-graphic {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-graphic {
        display: none;
    }
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #64748b;
    font-size: 1.1rem;
}

.language-selector {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.lang-switch {
    padding: 0.7rem 1.2rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 200px;
}

.lang-switch:hover {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input {
    accent-color: #2563eb;
}

.forgot-password {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.btn.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.btn.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

.error-message {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
    color: #64748b;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e2e8f0;
    z-index: 1;
}

.divider span {
    position: relative;
    z-index: 2;
    background-color: white;
    padding: 0 1rem;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.social-btn.google {
    color: #ea4335;
}

.social-btn.facebook {
    color: #1877f2;
}

.social-icon {
    font-weight: bold;
    font-size: 1.2rem;
}

.signup-link {
    text-align: center;
    color: #64748b;
    margin-top: 1rem;
}

.signup-link a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.signup-link a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Graphic Styles */
.graphic-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 0;
    left: 0;
    animation: pulse 4s infinite ease-in-out;
}

.circle-2 {
    width: 240px;
    height: 240px;
    top: 30px;
    left: 30px;
    animation: pulse 4s infinite ease-in-out 0.5s;
}

.circle-3 {
    width: 180px;
    height: 180px;
    top: 60px;
    left: 60px;
    animation: pulse 4s infinite ease-in-out 1s;
}

.secure-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    z-index: 10;
    color: white;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.05); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.2; }
}

/* RTL Support */
[dir="rtl"] .login-card {
    direction: rtl;
}

[dir="rtl"] .remember-me {
    flex-direction: row-reverse;
}

[dir="rtl"] .form-options {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-selector {
    justify-content: flex-start;
}
.logout-confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
}

.modal-backdrop {
    opacity: 0.5;
}

.modal {
    background-color: rgba(0, 0, 0, 0.3);
}
/* Modal Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1040;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    overflow: auto;
    display: block;
}

.modal-dialog {
    position: relative;
    margin: 10% auto;
    width: auto;
    max-width: 500px;
}

.modal-content {
    position: relative;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    outline: 0;
}
/*Rich text editor dropdown txt sizer*/
.ql-snow .ql-picker.ql-size .ql-picker-label::before,
.ql-snow .ql-picker.ql-size .ql-picker-item::before {
  content: attr(data-value) !important;
}
.ql-snow .ql-picker.ql-size {
  width: 70px !important;
}