/* =====================================================
   DIGITALNI MAJSTOR PORTAL - Modern Landing Page Styles
   ===================================================== */

/* CSS Variables */
:root {
    --ep-primary: #7c3aed;
    --ep-primary-dark: #5b21b6;
    --ep-primary-light: #a78bfa;
    --ep-secondary: #10b981;
    --ep-bg: #f8f6ff;
    --ep-bg-dark: #1e1b4b;
    --ep-text: #1f2937;
    --ep-text-light: #6b7280;
    --ep-white: #ffffff;
    --ep-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
    --ep-shadow-lg: 0 8px 40px rgba(124, 58, 237, 0.2);
    --ep-radius: 12px;
    --ep-radius-sm: 8px;
    --ep-transition: all 0.3s ease;
}

/* Reset for landing page */
.ep-landing {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--ep-text);
    margin: 0;
    padding: 0;
}

.ep-landing * {
    box-sizing: border-box;
}

.ep-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   HEADER
   ===================================================== */
.ep-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.ep-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.ep-logo {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--ep-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.ep-logo:hover {
    color: var(--ep-primary-dark);
}

.ep-logo-icon {
    font-size: 1.2em;
}

.ep-nav {
    display: flex;
    gap: 8px;
}

.ep-nav-link {
    padding: 8px 14px;
    color: var(--ep-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    border-radius: var(--ep-radius-sm);
    transition: var(--ep-transition);
}

.ep-nav-link:hover {
    color: var(--ep-primary);
    background: var(--ep-bg);
}

.ep-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ep-user-name {
    font-size: 0.9em;
    color: var(--ep-text);
    margin-right: 8px;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.ep-btn-main {
    background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-primary-dark) 100%);
    color: var(--ep-white);
    border: none;
    border-radius: var(--ep-radius-sm);
    padding: 10px 24px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ep-transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.ep-btn-main:hover {
    background: linear-gradient(135deg, var(--ep-primary-dark) 0%, #4c1d95 100%);
    transform: translateY(-2px);
    box-shadow: var(--ep-shadow);
}

.ep-btn-outline {
    background: transparent;
    color: var(--ep-primary);
    border: 2px solid var(--ep-primary);
    border-radius: var(--ep-radius-sm);
    padding: 8px 20px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ep-transition);
    text-decoration: none;
    display: inline-block;
}

.ep-btn-outline:hover {
    background: var(--ep-primary);
    color: var(--ep-white);
}

.ep-btn-sm {
    padding: 8px 16px;
    font-size: 0.85em;
}

.ep-btn-lg {
    padding: 14px 32px;
    font-size: 1.05em;
}

/* =====================================================
   HERO SECTION - Wallpaper
   ===================================================== */
.ep-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    background: 
        linear-gradient(135deg, rgba(124, 58, 237, 0.9) 0%, rgba(91, 33, 182, 0.85) 50%, rgba(30, 27, 75, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,160L48,176C96,192,192,224,288,218.7C384,213,480,171,576,165.3C672,160,768,192,864,197.3C960,203,1056,181,1152,165.3C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom/cover no-repeat,
        linear-gradient(180deg, #7c3aed 0%, #1e1b4b 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* When custom background image is set via Customizer */
.ep-hero[style*="background-image"] {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.85) 0%, rgba(91, 33, 182, 0.8) 50%, rgba(30, 27, 75, 0.9) 100%);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.ep-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(167, 139, 250, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.ep-hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect fill="none" width="60" height="60"/><circle fill="rgba(255,255,255,0.03)" cx="30" cy="30" r="1"/></svg>');
}

.ep-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.ep-hero-title {
    font-size: clamp(2em, 5vw, 3em);
    font-weight: 800;
    color: var(--ep-white);
    margin: 0 0 16px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.ep-hero-subtitle {
    font-size: clamp(1em, 2.5vw, 1.2em);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px;
    line-height: 1.6;
}

.ep-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.ep-hero-cta .ep-btn-outline {
    border-color: var(--ep-white);
    color: var(--ep-white);
}

.ep-hero-cta .ep-btn-outline:hover {
    background: var(--ep-white);
    color: var(--ep-primary);
}

.ep-hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.ep-stat {
    text-align: center;
}

.ep-stat-num {
    display: block;
    font-size: 2em;
    font-weight: 800;
    color: var(--ep-white);
}

.ep-stat-label {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================
   HOW IT WORKS SECTION
   ===================================================== */
.ep-how-it-works {
    padding: 60px 24px;
    background: var(--ep-white);
}

.ep-section-title {
    font-size: 1.8em;
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px;
    color: var(--ep-text);
}

.ep-section-subtitle {
    text-align: center;
    color: var(--ep-text-light);
    margin: 0 0 40px;
    font-size: 1em;
}

.ep-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.ep-step {
    text-align: center;
    padding: 24px 20px;
    background: var(--ep-bg);
    border-radius: var(--ep-radius);
    transition: var(--ep-transition);
}

.ep-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--ep-shadow);
}

.ep-step-icon {
    font-size: 2.5em;
    margin-bottom: 12px;
}

.ep-step h3 {
    font-size: 1.1em;
    margin: 0 0 8px;
    color: var(--ep-text);
}

.ep-step p {
    font-size: 0.9em;
    color: var(--ep-text-light);
    margin: 0;
    line-height: 1.5;
}

/* =====================================================
   INQUIRY SECTION
   ===================================================== */
.ep-inquiry-section {
    padding: 60px 24px;
    background: linear-gradient(180deg, var(--ep-bg) 0%, var(--ep-white) 100%);
}

/* =====================================================
   CATEGORIES SECTION
   ===================================================== */
.ep-categories-section {
    padding: 60px 24px !important;
    background: #f8f6ff !important;
}

.ep-categories-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 24px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.ep-category-card {
    width: 220px !important;
    height: 200px !important;
    background: #ffffff !important;
    border: 2px solid #7c3aed !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15) !important;
    padding: 24px 16px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    color: #1f2937 !important;
    cursor: pointer !important;
}

.ep-category-card:hover {
    transform: scale(1.06) !important;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.25) !important;
    border-color: #5b21b6 !important;
    z-index: 10 !important;
}

.ep-category-card:hover .ep-category-icon {
    background: #7c3aed !important;
    transform: scale(1.1) !important;
}

.ep-category-card:hover .ep-category-icon .ep-cat-icon {
    filter: grayscale(1) brightness(10) !important;
}

.ep-category-card:hover .ep-category-name {
    color: #7c3aed !important;
}

.ep-category-icon {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    border-radius: 50% !important;
    background: #f0ebff !important;
    border: 2px solid rgba(124, 58, 237, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.ep-category-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.ep-cat-icon {
    font-size: 2.2em !important;
    line-height: 1 !important;
}

.ep-category-name {
    font-size: 1.05em !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1f2937 !important;
    transition: color 0.3s ease !important;
}

.ep-category-desc {
    font-size: 0.8em !important;
    color: #6b7280 !important;
    margin: 6px 0 0 0 !important;
    line-height: 1.4 !important;
}

@media screen and (max-width: 950px) {
    .ep-category-card {
        width: 180px !important;
        height: 180px !important;
    }
    .ep-category-icon {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        min-height: 70px !important;
    }
}

@media screen and (max-width: 500px) {
    .ep-categories-grid {
        gap: 16px !important;
    }
    .ep-category-card {
        width: calc(50% - 12px) !important;
        height: 160px !important;
        padding: 16px 12px !important;
    }
    .ep-category-icon {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        margin-bottom: 12px !important;
    }
    .ep-cat-icon {
        font-size: 1.8em !important;
    }
    .ep-category-name {
        font-size: 0.95em !important;
    }
}
    color: #6b7280 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* =====================================================
   PACKAGES SECTION
   ===================================================== */
.ep-packages-section {
    padding: 60px 24px;
    background: var(--ep-white);
}

.ep-paketi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.ep-paket {
    width: 320px;
    background: var(--ep-white);
    border: 2px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--ep-radius);
    box-shadow: var(--ep-shadow);
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--ep-transition);
}

@media screen and (max-width: 1050px) {
    .ep-paket {
        width: calc(50% - 12px);
        min-width: 280px;
    }
}

@media screen and (max-width: 650px) {
    .ep-paket {
        width: 100%;
        max-width: 320px;
    }
}

.ep-paket:hover {
    transform: translateY(-8px);
    box-shadow: var(--ep-shadow-lg);
    border-color: var(--ep-primary-light);
}

.ep-paket-title {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--ep-text);
}

.ep-paket-img {
    max-width: 100px;
    border-radius: var(--ep-radius-sm);
    margin-bottom: 12px;
}

.ep-paket-desc {
    color: var(--ep-text-light);
    font-size: 0.9em;
    margin-bottom: 16px;
    flex-grow: 1;
}

.ep-paket-price {
    font-size: 1.4em;
    color: var(--ep-primary);
    font-weight: 700;
    margin-bottom: 16px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.ep-footer {
    background: var(--ep-bg-dark);
    color: var(--ep-white);
    padding: 50px 24px 20px;
}

.ep-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ep-footer-logo {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--ep-white);
    margin-bottom: 12px;
}

.ep-footer-desc {
    font-size: 0.85em;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0;
}

.ep-footer-col h4 {
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--ep-white);
}

.ep-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ep-footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9em;
    transition: var(--ep-transition);
}

.ep-footer-nav a:hover {
    color: var(--ep-primary-light);
}

.ep-footer-col p {
    font-size: 0.9em;
    color: rgba(255,255,255,0.7);
    margin: 0 0 8px;
}

.ep-social {
    display: flex;
    gap: 12px;
}

.ep-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 1.2em;
    text-decoration: none;
    transition: var(--ep-transition);
}

.ep-social-link:hover {
    background: var(--ep-primary);
    transform: translateY(-3px);
}

.ep-footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.ep-footer-bottom p {
    font-size: 0.85em;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* =====================================================
   FORMS
   ===================================================== */
.ep-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--ep-white);
    border-radius: var(--ep-radius);
    box-shadow: var(--ep-shadow);
    padding: 28px 24px;
}

.ep-form-compact {
    max-width: 650px;
}

.ep-form-row {
    margin-bottom: 16px;
}

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

.ep-form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ep-field {
    margin-bottom: 12px;
}

.ep-field-full {
    width: 100%;
}

.ep-postal-select {
    max-height: 300px;
}

.ep-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9em;
    color: var(--ep-text);
}

.ep-field input[type=text],
.ep-field input[type=email],
.ep-field textarea,
.ep-form select,
.ep-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: var(--ep-radius-sm);
    font-size: 0.95em;
    background: #fafaff;
    transition: var(--ep-transition);
}

.ep-field input:focus,
.ep-form select:focus,
.ep-textarea:focus {
    border-color: var(--ep-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.ep-textarea {
    resize: vertical;
    min-height: 100px;
}

.ep-select-wrap {
    position: relative;
}

.ep-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.ep-contact-note {
    font-size: 0.85em;
    color: var(--ep-text-light);
    margin: 8px 0 0;
    font-style: italic;
}

/* =====================================================
   NOTICES
   ===================================================== */
.ep-notice {
    padding: 12px 16px;
    background: #f5f5f5;
    border-left: 4px solid #999;
    margin: 12px 0;
    border-radius: var(--ep-radius-sm);
    font-size: 0.95em;
}

.ep-error {
    border-left-color: #dc2626;
    background: #fef2f2;
    color: #991b1b;
}

.ep-success {
    border-left-color: #16a34a;
    background: #f0fdf4;
    color: #166534;
}

/* =====================================================
   DASHBOARD & LISTS
   ===================================================== */
.ep-dashboard,
.ep-price-lists {
    max-width: 860px;
    margin: 0 auto;
}

.ep-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ep-item {
    padding: 16px;
    border-bottom: 1px solid #eee;
    transition: var(--ep-transition);
}

.ep-item:hover {
    background: var(--ep-bg);
}

.ep-meta {
    color: var(--ep-text-light);
    font-size: 0.8em;
    margin-top: 4px;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.ep-form-collapsible .ep-actions {
    display: flex;
    gap: 12px;
}

#ep-form-extra {
    margin-top: 16px;
    animation: epFadeIn 0.4s ease-out;
}

@keyframes epFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .ep-header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .ep-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    .ep-nav-link {
        padding: 6px 10px;
        font-size: 0.85em;
    }

    .ep-hero {
        min-height: 70vh;
        padding: 90px 20px 50px;
    }

    .ep-hero-stats {
        gap: 24px;
    }

    .ep-stat-num {
        font-size: 1.6em;
    }

    .ep-form-row-3 {
        grid-template-columns: 1fr;
    }

    .ep-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ep-footer-nav {
        align-items: center;
    }

    .ep-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ep-header-actions {
        gap: 6px;
    }

    .ep-btn-sm {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    .ep-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .ep-steps {
        grid-template-columns: 1fr;
    }

    .ep-paketi {
        grid-template-columns: 1fr;
    }
}

/* Legacy support for old ticket form shortcode */
.ep-paketi-wrap {
    margin: 40px 0 0 0;
}

.ep-paketi-title {
    font-size: 1.4em;
    margin-bottom: 18px;
    text-align: center;
}

.ep-form-collapsible #ep-next-btn,
.ep-form-collapsible #ep-submit-btn {
    min-width: 120px;
}

.ep-textarea.ep-large {
    min-height: 180px;
}

/* =====================================================
   MOBILE SIDEBAR
   ===================================================== */
.ep-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.ep-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--ep-primary);
    border-radius: 2px;
    transition: var(--ep-transition);
}

.ep-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ep-mobile-overlay.active {
    display: block;
    opacity: 1;
}

.ep-mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: var(--ep-white);
    z-index: 1200;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.ep-mobile-sidebar.active {
    left: 0;
}

.ep-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: var(--ep-bg);
}

.ep-sidebar-logo {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--ep-primary);
}

.ep-sidebar-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--ep-white);
    border-radius: 50%;
    font-size: 1.5em;
    color: var(--ep-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ep-transition);
}

.ep-sidebar-close:hover {
    background: var(--ep-primary);
    color: var(--ep-white);
}

.ep-sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    flex-grow: 1;
}

.ep-sidebar-link {
    display: block;
    padding: 14px 24px;
    color: var(--ep-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    border-left: 3px solid transparent;
    transition: var(--ep-transition);
}

.ep-sidebar-link:hover {
    background: var(--ep-bg);
    color: var(--ep-primary);
    border-left-color: var(--ep-primary);
}

.ep-sidebar-actions {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ep-sidebar-user {
    font-size: 0.9em;
    color: var(--ep-text-light);
    margin-bottom: 8px;
}

.ep-btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
}

/* =====================================================
   FLOATING BUTTON
   ===================================================== */
.ep-floating-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ep-white);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ep-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.ep-floating-btn svg {
    width: 26px;
    height: 26px;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .ep-hamburger {
        display: flex;
    }
    
    .ep-nav,
    .ep-header-actions {
        display: none !important;
    }
    
    .ep-header-inner {
        justify-content: space-between;
    }
    
    .ep-logo {
        flex-grow: 1;
        text-align: center;
    }
    
    .ep-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .ep-floating-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* =====================================================
   REGISTRATION PAGE
   ===================================================== */
.ep-register-page {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, var(--ep-bg) 0%, #e9e4f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 40px;
}

.ep-register-container {
    width: 100%;
    max-width: 500px;
    background: var(--ep-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
    padding: 40px;
}

.ep-register-header {
    text-align: center;
    margin-bottom: 30px;
}

.ep-register-header h1 {
    font-size: 2em;
    color: var(--ep-text);
    margin: 0 0 8px;
}

.ep-register-header p {
    color: var(--ep-text-light);
    margin: 0;
}

/* Majstor badge */
.ep-majstor-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--ep-primary), #8b5cf6);
    border-radius: 12px;
    margin-bottom: 24px;
    color: #fff;
}

.ep-badge-icon {
    font-size: 1.8em;
}

.ep-badge-text {
    font-size: 1.1em;
    font-weight: 600;
}

.ep-user-type-select {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.ep-type-option {
    flex: 1;
    cursor: pointer;
}

.ep-type-option input {
    display: none;
}

.ep-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.ep-type-option input:checked + .ep-type-card {
    border-color: var(--ep-primary);
    background: var(--ep-bg);
}

.ep-type-card:hover {
    border-color: var(--ep-primary-light);
}

.ep-type-icon {
    font-size: 2em;
    margin-bottom: 8px;
}

.ep-type-title {
    font-weight: 600;
    color: var(--ep-text);
    margin-bottom: 4px;
}

.ep-type-desc {
    font-size: 0.85em;
    color: var(--ep-text-light);
}

.ep-register-form .ep-field {
    margin-bottom: 18px;
}

.ep-register-form .ep-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--ep-text);
    font-size: 0.95em;
}

.ep-register-form .ep-field input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ep-register-form .ep-field input:focus {
    outline: none;
    border-color: var(--ep-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.ep-register-form .ep-form-row {
    display: flex;
    gap: 16px;
}

.ep-register-form .ep-form-row .ep-field {
    flex: 1;
}

.ep-register-actions {
    margin-top: 24px;
}

.ep-register-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.ep-register-footer p {
    margin: 0;
    color: var(--ep-text-light);
}

.ep-register-footer a {
    color: var(--ep-primary);
    text-decoration: none;
    font-weight: 500;
}

.ep-register-footer a:hover {
    text-decoration: underline;
}

/* Registration success box */
.ep-register-success-box {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    text-align: left;
}

.ep-register-success-box p {
    font-weight: 600;
    color: #166534;
    margin: 0 0 12px;
}

.ep-register-success-box ul {
    margin: 0 0 20px;
    padding-left: 20px;
    color: #15803d;
}

.ep-register-success-box li {
    margin-bottom: 8px;
}

.ep-register-success-box .ep-btn-main {
    display: inline-block;
    margin-top: 10px;
}

/* Login page specific styles */
.ep-login-container {
    max-width: 420px;
}

.ep-login-icon {
    text-align: center;
    margin-bottom: 24px;
    color: var(--ep-primary);
}

.ep-login-icon svg {
    width: 80px;
    height: 80px;
    padding: 16px;
    background: var(--ep-bg);
    border-radius: 50%;
}

.ep-remember-field {
    margin-bottom: 8px !important;
}

.ep-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.ep-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--ep-primary);
}

.ep-login-links {
    text-align: center;
    margin: 16px 0;
}

.ep-login-links a {
    color: var(--ep-text-light);
    text-decoration: none;
    font-size: 0.9em;
}

.ep-login-links a:hover {
    color: var(--ep-primary);
    text-decoration: underline;
}

@media screen and (max-width: 500px) {
    .ep-register-container {
        padding: 24px;
    }
    
    .ep-user-type-select {
        flex-direction: column;
    }
    
    .ep-register-form .ep-form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* =====================================================
   CUSTOMER PORTAL STYLES
   ===================================================== */

.ep-customer-portal,
.ep-customer-orders {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.ep-portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--ep-bg);
}

.ep-portal-header h2 {
    margin: 0;
    color: var(--ep-text);
    font-size: 1.8em;
}

.ep-user-points {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--ep-primary), var(--ep-primary-dark));
    color: white;
    padding: 10px 20px;
    border-radius: var(--ep-radius);
    font-weight: 600;
}

.ep-points-label {
    font-size: 0.9em;
    opacity: 0.9;
}

.ep-points-value {
    font-size: 1.3em;
}

/* Services Grid */
.ep-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 32px;
    margin-top: 30px;
    padding-bottom: 30px;
    align-items: stretch;
}


.ep-service-card {
    position: relative;
    background: #fff;
    border: 1.5px solid #e0e7ef;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
    cursor: pointer;
    box-shadow: 0 2px 12px 0 rgba(80, 112, 255, 0.06), 0 1.5px 4px 0 rgba(80,112,255,0.03);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ep-service-card:hover, .ep-service-card:focus {
    border-color: #764ba2;
    box-shadow: 0 6px 32px 0 rgba(102,126,234,0.13), 0 2px 8px 0 rgba(102,126,234,0.08);
    transform: translateY(-3px) scale(1.025);
    z-index: 2;
}

.ep-service-card.selected {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

.ep-service-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ep-service-card label {
    display: block;
    cursor: pointer;
}


.ep-service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #fff;
    border-radius: 14px;
    margin: 22px auto 10px auto;
    box-shadow: 0 2px 8px 0 rgba(102,126,234,0.10);
}

.ep-service-image {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: var(--ep-bg);
}

.ep-service-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ep-service-image-placeholder .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: var(--ep-primary-light);
}


.ep-service-info {
    padding: 0 18px 18px 18px;
    text-align: center;
}


.ep-service-info h4 {
    margin: 0 0 8px;
    color: #22243a;
    font-size: 1.18em;
    font-weight: 700;
    letter-spacing: -0.5px;
}


.ep-service-desc {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 0.97em;
    line-height: 1.5;
    min-height: 32px;
}


.ep-service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.93em;
    justify-content: center;
    margin-top: 8px;
}

.ep-meta-points {
    background: var(--ep-primary);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
}

.ep-meta-price,
.ep-meta-duration {
    color: var(--ep-text-light);
    background: var(--ep-bg);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Form Sections */
.ep-form-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--ep-radius);
    padding: 25px;
    margin-bottom: 20px;
}

.ep-form-section h3 {
    margin: 0 0 15px;
    color: var(--ep-text);
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ep-form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--ep-primary);
    border-radius: 2px;
}

/* Order Summary */
.ep-order-summary {
    background: linear-gradient(135deg, #f0f4ff, #e8f0ff);
    border-color: var(--ep-primary-light);
}

.ep-summary-content p {
    margin: 8px 0;
}

.ep-warning-text {
    color: #dc2626;
    font-weight: 600;
    background: #fef2f2;
    padding: 10px 15px;
    border-radius: var(--ep-radius-sm);
    margin-top: 10px;
}

/* Form Actions */
.ep-form-actions {
    text-align: center;
    padding: 20px 0;
}

.ep-form-actions .ep-btn-main.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Portal Footer */
.ep-portal-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

.ep-link {
    color: var(--ep-primary);
    text-decoration: none;
    font-weight: 500;
}

.ep-link:hover {
    text-decoration: underline;
}

/* Orders List */
.ep-orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ep-order-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--ep-radius);
    overflow: hidden;
    transition: var(--ep-transition);
}

.ep-order-card:hover {
    box-shadow: var(--ep-shadow);
}

.ep-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--ep-bg);
    border-bottom: 1px solid #e5e7eb;
}

.ep-order-id {
    font-weight: 700;
    color: var(--ep-text);
}

.ep-order-status {
    padding: 5px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.8em;
    font-weight: 600;
}

.ep-order-body {
    padding: 20px;
}

.ep-order-body h4 {
    margin: 0 0 12px;
    color: var(--ep-text);
}

.ep-order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.ep-order-meta span {
    color: var(--ep-text-light);
}

.ep-order-description {
    background: var(--ep-bg);
    padding: 12px 15px;
    border-radius: var(--ep-radius-sm);
    font-size: 0.9em;
}

.ep-order-description strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ep-text);
}

.ep-order-description p {
    margin: 0;
    color: var(--ep-text-light);
}

.ep-order-footer {
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.85em;
    color: var(--ep-text-light);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .ep-portal-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .ep-services-grid {
        grid-template-columns: 1fr;
    }
    
    .ep-order-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media screen and (max-width: 500px) {
    .ep-customer-portal,
    .ep-customer-orders {
        padding: 20px 15px;
    }
    
    .ep-form-section {
        padding: 20px 15px;
    }
}
