@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

:root {
    --s4y-purple: #664294;
    --s4y-purple-dark: #4e3272;
    --s4y-purple-light: #f3ebff;
    --s4y-white: #ffffff;
    --s4y-text: #2d3436;
    --s4y-text-light: #636e72;
    --s4y-shadow: 0 10px 30px rgba(102, 66, 148, 0.1);
    --s4y-radius: 0px !important;
    --s4y-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --s4y-font: 'Comfortaa', cursive;
}

.s4y-db,
.s4y-auth-wrap,
.s4y-seminars-dashboard,
.s4y-seminar-view,
.s4y-thankyou {
    font-family: var(--s4y-font) !important;
}

/* Dashboard Styles */
.s4y-seminars-dashboard {
    padding: 20px 0;
}

.s4y-dashboard-header {
    margin-bottom: 40px;
    text-align: left;
}

.s4y-dashboard-header h2 {
    color: var(--s4y-purple);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.s4y-dashboard-header p {
    color: var(--s4y-text-light);
    font-size: 1.1rem;
}

/* Grid Layout */
.s4y-seminars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.s4y-seminar-card {
    background: var(--s4y-white);
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: var(--s4y-shadow);
    transition: var(--s4y-transition);
    border: 1px solid rgba(102, 66, 148, 0.05);
}

.s4y-seminar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 66, 148, 0.15);
}

.s4y-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.s4y-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--s4y-transition);
}

.s4y-seminar-card:hover .s4y-card-image img {
    scale: 1.05;
}

.s4y-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--s4y-purple);
    color: white;
    padding: 6px 12px;
    border-radius: 0 !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.s4y-card-content {
    padding: 25px;
}

.s4y-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--s4y-text);
}

.s4y-card-excerpt {
    color: var(--s4y-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.s4y-btn-view {
    background: var(--s4y-purple) !important;
    color: white !important;
    width: 100%;
    text-align: center;
    border-radius: 0 !important;
    padding: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    border: none !important;
    transition: var(--s4y-transition) !important;
}

.s4y-btn-view:hover {
    background: var(--s4y-purple-dark) !important;
    box-shadow: 0 5px 15px rgba(102, 66, 148, 0.3);
}

/* Single View Styles */
.s4y-seminar-view {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.s4y-view-nav {
    margin-bottom: 30px;
}

.s4y-back-link {
    color: var(--s4y-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--s4y-transition);
}

.s4y-back-link:hover {
    color: var(--s4y-purple-dark);
    padding-left: 5px;
}

.s4y-seminar-container {
    background: var(--s4y-white);
    border-radius: 0 !important;
    padding: 50px;
    box-shadow: var(--s4y-shadow);
}

.s4y-view-header {
    margin-bottom: 40px;
    border-bottom: 2px solid var(--s4y-purple-light);
    padding-bottom: 30px;
}

.s4y-view-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--s4y-text);
    margin-bottom: 15px;
    line-height: 1.1;
}

.s4y-meta {
    color: var(--s4y-text-light);
    font-size: 1rem;
}

.s4y-meta span:first-child {
    color: var(--s4y-purple);
    font-weight: 700;
}

.s4y-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 0 !important;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.s4y-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.s4y-seminar-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--s4y-text);
}

.s4y-seminar-body p {
    margin-bottom: 25px;
}

.s4y-view-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--s4y-purple-light);
    text-align: center;
    color: var(--s4y-text-light);
    font-style: italic;
}

/* Empty State */
.s4y-no-seminars {
    text-align: center;
    padding: 80px 40px;
    background: var(--s4y-purple-light);
    border-radius: 0 !important;
}

.s4y-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.s4y-btn-primary {
    background: var(--s4y-purple) !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 0 !important;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .s4y-seminar-container {
        padding: 25px;
    }

    .s4y-view-header h1 {
        font-size: 2rem;
    }
}

.s4y-buy-button {
    background-color: var(--s4y-purple);
    padding: 12px 24px;
    border-radius: 0 !important;
    color: white;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    border: 3px double #fff;
    transition: var(--s4y-transition);
}

.s4y-buy-button:hover {
    background-color: #1D9090;
    border-color: #fff;
    color: white;
}

.s4y-buy-button.s4y-loop-button {
    padding: 8px 12px;
}

/* ===========================
   /logariasmos – Auth Forms
   =========================== */
.s4y-auth-wrap {
    max-width: 420px;
    margin: 48px auto;
    font-family: inherit;
}

.s4y-auth-tabs-nav {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 28px;
}

.s4y-auth-tab {
    flex: 1;
    background: none !important;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: 11px 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s, border-color 0.15s;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.s4y-auth-tab:hover {
    color: #111;
    background: none !important;
    box-shadow: none;
}

.s4y-auth-tab.active,
.s4y-auth-tab.active:hover {
    color: #111 !important;
    background: none !important;
    border-bottom-color: var(--s4y-purple) !important;
    box-shadow: none;
}

.s4y-auth-error {
    background: #fbeae5;
    color: #c62828;
    border-left: 4px solid #c62828;
    padding: 10px 14px;
    border-radius: 0 !important;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.s4y-auth-success {
    background: #e7f9ed;
    color: #166534;
    border-left: 4px solid #166534;
    padding: 10px 14px;
    border-radius: 0 !important;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.s4y-auth-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px !important;
}

.s4y-lost-password-link {
    font-size: 0.82rem;
    color: var(--s4y-purple);
    text-decoration: none;
    font-weight: 500;
}

.s4y-lost-password-link:hover {
    text-decoration: underline;
}

.s4y-auth-info {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.s4y-auth-footer {
    margin-top: 24px;
    text-align: center;
}

.s4y-auth-footer a {
    font-size: 0.88rem;
    color: #888;
    text-decoration: none;
    transition: color 0.15s;
}

.s4y-auth-footer a:hover {
    color: var(--s4y-purple);
}

.s4y-auth-panel {
    display: none;
}

.s4y-auth-panel.active {
    display: block;
}

.s4y-auth-form .s4y-field {
    margin-bottom: 18px;
}

.s4y-auth-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #444;
}

.s4y-auth-form input[type="text"],
.s4y-auth-form input[type="email"],
.s4y-auth-form input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 0 !important;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.s4y-auth-form input:focus {
    outline: none;
    border-color: var(--s4y-purple);
}

.s4y-remember label {
    font-weight: 400 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.s4y-auth-submit {
    width: 100%;
    padding: 13px;
    background: var(--s4y-purple);
    color: #fff;
    border: none;
    border-radius: 0 !important;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.s4y-auth-submit:hover {
    background: var(--s4y-purple-dark);
}

/* =====================================================
   Dashboard (.s4y-db)
   ===================================================== */

.s4y-db-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: #111;
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 !important;
    font-size: 0.85rem;
    transition: opacity 0.3s;
}

.s4y-db-toast--hide {
    opacity: 0;
    pointer-events: none;
}

.s4y-db {
    max-width: 960px;
    margin: 0 auto;
    font-family: inherit;
    padding-bottom: 80px;
}

/* Header */
.s4y-db-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    margin-bottom: 28px;
    border: 1px solid #e8e8e8;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border-radius: 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.s4y-db-name {
    margin: 0 0 2px;
    margin-bottom: 0px !important;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
}

.s4y-db-email {
    margin: 0;
    font-size: 0.78rem;
    color: #aaa;
    margin-bottom: 0px !important;

}

.s4y-db-logout-btn {
    font-size: 0.82rem;
    color: #fff;
    text-decoration: none;
    background: var(--s4y-purple);
    border: 3px double #fff;
    padding: 8px 18px;
    border-radius: 0 !important;
    transition: var(--s4y-transition);
    font-weight: 600;
}

.s4y-db-logout-btn:hover {
    background: #1D9090;
    border-color: #fff;
    color: #fff;
}

/* Tab nav — folder style */
.s4y-db-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 0px;
    border-radius: 0 !important;
    flex-wrap: wrap;
    background-color: transparent;
    padding: 0;
}

.s4y-db-nav-btn {
    background: none !important;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -1px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    transition: var(--s4y-transition);
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: unset;
    min-width: unset;
}

.s4y-db-nav-btn:hover {
    color: #111;
    background: rgba(255, 255, 255, 0.5) !important;
}

.s4y-db-nav-btn.active,
.s4y-db-nav-btn.active:hover {
    color: var(--s4y-purple) !important;
    background: #fff !important;
    border-color: #e8e8e8;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.02) !important;
}

.s4y-db-nav-badge {
    background: var(--s4y-purple);
    color: #fff;
    border-radius: 0 !important;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 1px 6px;
    line-height: 1.6;
}

/* Panels */
.s4y-db-panel {
    display: none;
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e8e8e8;
    border-top: none;
    border-radius: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.s4y-db-panel.active {
    display: block;
}

/* Card grid */
.s4y-db-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Card */
.s4y-db-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s;
}

.s4y-db-card:hover {
    border-color: #ccc;
    transform: none;
    box-shadow: none;
}



.s4y-db-card--link {
    text-decoration: none;
    color: inherit;
}

.s4y-db-card-img {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}

.s4y-db-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 3px 8px;
    border-radius: 0 !important;
}

.s4y-db-pill--active {
    background: #e6f9ed;
    color: #166534;
}



.s4y-db-pill--price {
    background: rgba(255, 255, 255, 0.92);
    color: #111;
}

.s4y-db-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.s4y-db-card-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
}

.s4y-db-card-desc {
    margin: 0;
    font-size: 0.8rem;
    color: #aaa;
    line-height: 1.5;
}

.s4y-db-days {
    margin: 0;
    font-size: 0.78rem;
    color: #aaa;
}



.s4y-db-progress-wrap {
    height: 3px;
    background: #f0f0f0;
    border-radius: 0 !important;
    overflow: hidden;
}

.s4y-db-progress-bar {
    height: 100%;
    background: var(--s4y-purple);
    border-radius: 0 !important;
}

.s4y-db-card-btn {
    display: block;
    margin-top: auto;
    padding: 12px 20px;
    background: var(--s4y-purple);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 0 !important;
    font-size: 0.82rem;
    font-weight: 600;
    border: 3px double #fff;
    transition: var(--s4y-transition);
}

.s4y-db-card-btn:hover {
    background: #1D9090;
    border-color: #fff;
    color: #fff;
}

.s4y-db-card-cta {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--s4y-purple);
    margin-top: auto;
}

/* Empty state */
.s4y-db-empty {
    text-align: center;
    padding: 48px 20px;
}

.s4y-db-empty-icon {
    font-size: 2.2rem;
}

.s4y-db-empty h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 24px;
}

.s4y-db-empty p {
    color: #aaa;
    font-size: 0.85rem;
    margin: 0 0 18px;
}

.s4y-db-nav-btn-link {
    display: inline-block;
    padding: 12px 24px;
    background: var(--s4y-purple);
    color: #fff;
    border: 3px double #fff;
    border-radius: 0 !important;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--s4y-transition);
}

.s4y-db-nav-btn-link:hover {
    background: #1D9090;
    border-color: #fff;
    color: #fff;
}

/* Profile */
.s4y-db-profile-wrap {
    max-width: 100%;
}

.s4y-db-profile-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 4px;
}

.s4y-db-profile-sub {
    font-size: 0.82rem;
    color: #aaa;
    margin: 0 0 20px;
}

.s4y-db-profile-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.s4y-db-profile-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #888;
    margin-bottom: 5px;
}

.s4y-db-profile-field input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 0 !important;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s;
    color: #111;
}

.s4y-db-profile-field input:focus {
    outline: none;
    border-color: var(--s4y-purple);
}

.s4y-db-save-btn {
    padding: 12px 28px;
    background: var(--s4y-purple);
    color: #fff;
    border: 3px double #fff;
    border-radius: 0 !important;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--s4y-transition);
    margin-top: 4px;
}

.s4y-db-save-btn:hover {
    background: #1D9090;
    border-color: #fff;
}

@media (max-width: 600px) {
    .s4y-db-grid {
        grid-template-columns: 1fr 1fr;
    }

    .s4y-db-profile-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .s4y-db-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Seminar Thank You Page
   =========================== */
.s4y-thankyou {
    text-align: center;
    padding: 48px 24px;
    font-family: inherit;
}

.s4y-thankyou-icon {
    width: 72px;
    height: 72px;
    background: #e7f9ed;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.s4y-thankyou h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 12px;
}

.s4y-thankyou p {
    color: #666;
    font-size: 1rem;
    margin: 0 0 8px;
}

.s4y-thankyou-seminars {
    margin: 28px auto;
    max-width: 480px;
    background: #faf6ff;
    border: 1px solid #ede8f5;
    border-radius: 0 !important;
    padding: 20px;
}

.s4y-thankyou-seminars h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}

.s4y-thankyou-seminars ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.s4y-thankyou-seminars li {
    font-weight: 500;
    font-size: 1rem;
    color: #333;
}

.s4y-thankyou-seminars li:not(:last-child) {
    margin-bottom: 8px;
}

.s4y-thankyou-actions {
    margin-top: 32px;
}

/* ===========================
   My Account: link in header
   =========================== */
.s4y-account-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--s4y-transition);
}

/* Logged-out: "Εγγραφή" button */
.s4y-account-link--out {
    background: var(--s4y-purple);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 0 !important;
    font-size: 0.85rem;
    font-weight: 600;
}

.s4y-account-link--out:hover {
    background: var(--s4y-purple-dark);
    color: #fff !important;
}

/* Logged-in: avatar circle + name */
.s4y-account-link--in {
    color: inherit;
}

.s4y-acl-avatar {
    width: 32px;
    height: 32px;
    border-radius: 0 !important;
    background: var(--s4y-purple);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =====================================================
   Premium Testimonials Shortcode Layout
   ===================================================== */
.s4y-testimonials-wrapper {
    margin: 40px 0;
    font-family: var(--s4y-font) !important;
}

.s4y-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 1024px) {
    .s4y-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .s4y-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.s4y-testimonial-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #eaeaea;
    padding: 30px 24px;
    border-radius: 12px !important;
    transition: var(--s4y-transition);
    overflow: hidden;
}


.s4y-testimonial-quote-bg {
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 6.5rem;
    color: rgba(0, 0, 0, 0.02);
    font-family: var(--s4y-font), serif;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.s4y-testimonial-content {
    position: relative;
    z-index: 2;
}

.s4y-testimonial-content p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #444444;
    /* light black text */
    font-style: normal;
    font-weight: 400;
}