/* EmailSignature.to - Custom Overrides */

:root {
    --es-primary: #623bcc;
    --es-primary-dark: #4e2ea6;
    --es-dark: #232323;
    --es-body: #666666;
    --es-gray-bg: #f7f7f7;
    --es-white: #ffffff;
    --es-success: #28a745;
    --es-danger: #dc3545;
}

/* ---- Navbar tweaks ---- */
.navbar.bootsnav .navbar-brand img {
    max-height: 36px;
}

/* ---- Hero ---- */
.es-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #623bcc 0%, #8b5cf6 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.es-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.es-hero p.lead {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}
.es-hero .btn-hero-primary {
    background: #fff;
    color: var(--es-primary);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    border: none;
    transition: all 0.3s;
}
.es-hero .btn-hero-primary:hover {
    background: #f0e6ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.es-hero .btn-hero-secondary {
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s;
    margin-left: 12px;
}
.es-hero .btn-hero-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}
.es-hero-mockup {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 30px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

/* ---- Section headings ---- */
.es-section {
    padding: 80px 0;
}
.es-section.bg-gray {
    background: var(--es-gray-bg);
}
.es-section-heading {
    text-align: center;
    margin-bottom: 50px;
}
.es-section-heading h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--es-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.es-section-heading h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--es-dark);
    margin-bottom: 15px;
}
.es-section-heading p {
    font-size: 16px;
    color: var(--es-body);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Trust / Social proof ---- */
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.trust-badge {
    text-align: center;
    padding: 15px 20px;
}
.trust-badge .stars {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 5px;
}
.trust-badge .rating {
    font-weight: 700;
    font-size: 20px;
    color: var(--es-dark);
}
.trust-badge .source {
    font-size: 13px;
    color: var(--es-body);
}
.client-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    opacity: 0.6;
}
.client-logos img {
    max-height: 40px;
    filter: grayscale(100%);
    transition: all 0.3s;
}
.client-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ---- Email clients grid ---- */
.email-client-item {
    text-align: center;
    padding: 25px 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s;
    margin-bottom: 20px;
}
.email-client-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.email-client-item i {
    font-size: 36px;
    color: var(--es-primary);
    margin-bottom: 12px;
    display: block;
}
.email-client-item h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--es-dark);
    margin: 0;
}

/* ---- Feature blocks (alternating) ---- */
.es-feature-block {
    margin-bottom: 60px;
}
.es-feature-block .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(98, 59, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.es-feature-block .feature-icon i {
    font-size: 26px;
    color: var(--es-primary);
}
.es-feature-block h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--es-dark);
}
.es-feature-block p {
    color: var(--es-body);
    font-size: 15px;
    line-height: 1.7;
}
.es-feature-block .feature-thumb {
    background: var(--es-gray-bg);
    border-radius: 12px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 14px;
}

/* ---- Template cards ---- */
.template-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s;
    margin-bottom: 30px;
}
.template-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.template-card .card-thumb {
    height: 200px;
    background: linear-gradient(135deg, #f0e6ff, #e0d4f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--es-primary);
    font-size: 14px;
    position: relative;
    overflow: hidden;
}
.template-card .card-thumb .badge-popular {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--es-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.template-card .card-body {
    padding: 20px;
}
.template-card .card-body h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--es-dark);
    margin-bottom: 6px;
}
.template-card .card-body p {
    font-size: 13px;
    color: var(--es-body);
    margin-bottom: 15px;
}
.template-card .btn-use {
    display: inline-block;
    background: var(--es-primary);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.template-card .btn-use:hover {
    background: var(--es-primary-dark);
    color: #fff;
}

/* ---- How it works steps ---- */
.step-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}
.step-item .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--es-primary);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.step-item h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--es-dark);
    margin-bottom: 10px;
}
.step-item p {
    font-size: 14px;
    color: var(--es-body);
}

/* ---- Use cases ---- */
.use-case-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid #eee;
    margin-bottom: 30px;
    transition: all 0.3s;
}
.use-case-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.use-case-card i {
    font-size: 40px;
    color: var(--es-primary);
    margin-bottom: 18px;
    display: block;
}
.use-case-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--es-dark);
    margin-bottom: 10px;
}
.use-case-card p {
    font-size: 14px;
    color: var(--es-body);
    margin: 0;
}

/* ---- FAQ Accordion ---- */
.faq-accordion .panel {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: none;
}
.faq-accordion .panel-heading {
    padding: 0;
    background: #fff;
    border-radius: 8px;
}
.faq-accordion .panel-heading a {
    display: block;
    padding: 18px 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--es-dark);
    text-decoration: none;
    position: relative;
    padding-right: 40px;
}
.faq-accordion .panel-heading a:after {
    content: '\f107';
    font-family: FontAwesome;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--es-primary);
    transition: transform 0.3s;
}
.faq-accordion .panel-heading a.collapsed:after {
    transform: translateY(-50%) rotate(-90deg);
}
.faq-accordion .panel-body {
    padding: 0 24px 20px;
    color: var(--es-body);
    font-size: 14px;
    line-height: 1.7;
    border-top: none;
}

/* ---- CTA Section ---- */
.es-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #623bcc 0%, #8b5cf6 100%);
    color: #fff;
    text-align: center;
}
.es-cta h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 15px;
}
.es-cta p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Auth forms ---- */
.auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
}
.auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.auth-card h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 26px;
    text-align: center;
    margin-bottom: 8px;
    color: var(--es-dark);
}
.auth-card .auth-subtitle {
    text-align: center;
    color: var(--es-body);
    font-size: 14px;
    margin-bottom: 30px;
}
.auth-card .form-group {
    margin-bottom: 18px;
}
.auth-card .form-group label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--es-dark);
    margin-bottom: 6px;
}
.auth-card .form-control {
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    font-size: 14px;
    height: auto;
}
.auth-card .form-control:focus {
    border-color: var(--es-primary);
    box-shadow: 0 0 0 3px rgba(98,59,204,0.1);
}
.auth-card .btn-auth {
    width: 100%;
    background: var(--es-primary);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    margin-top: 10px;
}
.auth-card .btn-auth:hover {
    background: var(--es-primary-dark);
}
.auth-card .btn-google {
    width: 100%;
    background: #fff;
    color: var(--es-dark);
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.auth-card .btn-google:hover {
    background: var(--es-gray-bg);
}
.auth-card .divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}
.auth-card .divider span {
    background: #fff;
    padding: 0 15px;
    color: var(--es-body);
    font-size: 13px;
    position: relative;
    z-index: 1;
}
.auth-card .divider:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #ddd;
}
.auth-card .auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--es-body);
}
.auth-card .auth-footer a {
    color: var(--es-primary);
    font-weight: 600;
}

/* ---- Dashboard ---- */
.dashboard-wrapper {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 100vh;
    background: var(--es-gray-bg);
}
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}
.dashboard-header h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--es-dark);
    margin: 0;
}
.btn-create-new {
    background: var(--es-primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-create-new:hover {
    background: var(--es-primary-dark);
    color: #fff;
    text-decoration: none;
}
.dash-tabs {
    margin-bottom: 25px;
}
.dash-tabs .nav-tabs {
    border-bottom: 2px solid #eee;
}
.dash-tabs .nav-tabs > li > a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--es-body);
    border: none;
    padding: 12px 20px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.dash-tabs .nav-tabs > li > a:hover {
    background: transparent;
    color: var(--es-primary);
    border-color: transparent;
}
.dash-tabs .nav-tabs > li.active > a,
.dash-tabs .nav-tabs > li.active > a:focus,
.dash-tabs .nav-tabs > li.active > a:hover {
    background: transparent;
    color: var(--es-primary);
    border: none;
    border-bottom: 2px solid var(--es-primary);
}
.sig-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    transition: all 0.3s;
}
.sig-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.sig-card .sig-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--es-dark);
    margin-bottom: 4px;
}
.sig-card .sig-template {
    font-size: 13px;
    color: var(--es-body);
}
.sig-card .sig-meta {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}
.sig-card .sig-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.sig-card .sig-status.active {
    background: #e6f9ee;
    color: var(--es-success);
}
.sig-card .sig-status.draft {
    background: #fff3e0;
    color: #f57c00;
}
.sig-card .sig-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.sig-card .sig-actions .btn {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 6px;
    font-weight: 500;
}

/* ---- Editor ---- */
.editor-wrapper {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--es-gray-bg);
}
.editor-topbar {
    background: #fff;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}
.editor-topbar .btn {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 6px;
    font-weight: 500;
}
.editor-sidebar {
    background: #fff;
    padding: 25px;
    height: calc(100vh - 130px);
    overflow-y: auto;
    border-right: 1px solid #eee;
}
.editor-sidebar .sidebar-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.editor-sidebar .sidebar-section:last-child {
    border-bottom: none;
}
.editor-sidebar .sidebar-section h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--es-dark);
    margin-bottom: 15px;
}
.editor-sidebar .form-group {
    margin-bottom: 12px;
}
.editor-sidebar .form-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--es-body);
    margin-bottom: 4px;
}
.editor-sidebar .form-control {
    border-radius: 6px;
    font-size: 13px;
    padding: 8px 12px;
    height: auto;
}
.editor-preview {
    padding: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: calc(100vh - 130px);
}
.editor-preview-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    max-width: 600px;
    width: 100%;
}

/* ---- Signature Preview ---- */
.sig-preview-table {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #333;
}
.sig-preview-table .sig-name-preview {
    font-size: 18px;
    font-weight: 700;
    color: var(--es-primary);
}
.sig-preview-table .sig-title-preview {
    font-size: 13px;
    color: var(--es-body);
}
.sig-preview-table .sig-divider {
    border-left: 2px solid var(--es-primary);
    padding-left: 15px;
    margin-left: 15px;
}
.sig-preview-table .sig-contact-line {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}
.sig-preview-table .sig-social-icons a {
    display: inline-block;
    margin-right: 8px;
    color: var(--es-primary);
    font-size: 16px;
}

/* ---- Signature Detail ---- */
.sig-detail-wrapper {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 100vh;
    background: var(--es-gray-bg);
}
.sig-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ---- Pricing ---- */
.pricing-free-card {
    background: #fff;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid var(--es-primary);
}
.pricing-free-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--es-dark);
    margin-bottom: 5px;
}
.pricing-free-card .price {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 52px;
    color: var(--es-primary);
    margin-bottom: 5px;
}
.pricing-free-card .price-label {
    font-size: 15px;
    color: var(--es-body);
    margin-bottom: 30px;
}
.pricing-free-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}
.pricing-free-card ul li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--es-dark);
    border-bottom: 1px solid #f0f0f0;
    padding-left: 28px;
    position: relative;
}
.pricing-free-card ul li:last-child {
    border-bottom: none;
}
.pricing-free-card ul li:before {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: var(--es-success);
    font-size: 14px;
}

/* ---- 404 ---- */
.error-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    text-align: center;
}
.error-wrapper h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 120px;
    color: var(--es-primary);
    margin-bottom: 10px;
    line-height: 1;
}
.error-wrapper h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 15px;
}
.error-wrapper p {
    color: var(--es-body);
    margin-bottom: 30px;
}

/* ---- General buttons ---- */
.btn-es-primary {
    background: var(--es-primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}
.btn-es-primary:hover {
    background: var(--es-primary-dark);
    color: #fff;
}
.btn-es-outline {
    background: transparent;
    color: var(--es-primary);
    border: 2px solid var(--es-primary);
    padding: 10px 26px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}
.btn-es-outline:hover {
    background: var(--es-primary);
    color: #fff;
}

/* ---- Breadcrumb area ---- */
.es-breadcrumb {
    padding: 100px 0 40px;
    background: var(--es-gray-bg);
}
.es-breadcrumb h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--es-dark);
    margin-bottom: 10px;
}
.es-breadcrumb p {
    color: var(--es-body);
    font-size: 15px;
}

/* ---- Footer ---- */
.es-footer {
    background: #1d2024;
    color: #aaa;
    padding-top: 60px;
}
.es-footer h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
}
.es-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.es-footer ul li {
    margin-bottom: 10px;
}
.es-footer ul li a {
    color: #aaa;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}
.es-footer ul li a:hover {
    color: #fff;
}
.es-footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    margin-top: 40px;
}
.es-footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .es-hero h1 { font-size: 32px; }
    .es-hero { padding: 100px 0 60px; }
    .es-hero .btn-hero-secondary { margin-left: 0; margin-top: 10px; }
    .editor-sidebar { height: auto; }
    .editor-preview { min-height: auto; padding: 20px; }
}
@media (max-width: 767px) {
    .es-hero h1 { font-size: 28px; }
    .es-section-heading h2 { font-size: 26px; }
    .dashboard-header { flex-direction: column; align-items: flex-start; }
    .auth-card { padding: 30px 20px; }
}
