/* GLOBÁLNÍ NASTAVENÍ */
body {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.klient-admin-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #1a1a1a;
    min-height: 100vh;
}

.klient-login-box {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.klient-login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #2a2a2a;
    color: #fff;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
    outline: none;
    border-color: #2eaeb1;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #2eaeb1;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.btn-login:hover {
    background: #27a0a5;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
}

.forgot-password-link {
    color: #2eaeb1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #27a0a5;
    text-decoration: underline;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* USER INFO */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2eaeb1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* SECTION HEADER */
.content-section h2 {
    margin-bottom: 30px;
    color: #fff;
}

.btn-back-fixed {
    position: fixed;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    padding: 15px 20px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.btn-back-fixed:hover {
    background: #5a6268;
    transform: translateY(-50%) scale(1.05);
}

.btn-back-fixed i {
    font-size: 24px;
}

/* STATS OVERVIEW */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2eaeb1 0%, #27a0a5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
}

.stat-box:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #fec76f 0%, #f5945c 100%);
}

.stat-box:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #be95be 0%, #a87ba8 100%);
}

.stat-box:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #f5945c 0%, #e8864c 100%);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* EVENT SALES CARDS */
.event-sales-card {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #333;
}

.event-sales-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}

.event-sales-header h4 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 20px;
}

.event-meta {
    margin: 0;
    color: #aaa;
    font-size: 14px;
}

.event-meta i {
    color: #2eaeb1;
    margin-right: 5px;
}

.event-total {
    text-align: right;
}

.total-value {
    font-size: 28px;
    font-weight: 700;
    color: #2eaeb1;
}

.total-label {
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
}

.redeemed-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #1a1a1a;
    border-radius: 4px;
    font-size: 13px;
    color: #2eaeb1;
}

/* VARIANTS GRID */
.variants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.variant-card {
    background: #1a1a1a;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #333;
}

.variant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.variant-header strong {
    color: #fff;
    font-size: 16px;
}

.variant-price {
    color: #fec76f;
    font-weight: 600;
    font-size: 18px;
}

.variant-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.variant-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    color: #aaa;
    font-size: 13px;
}

.stat-value {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.stat-value.revenue {
    color: #2eaeb1;
    font-size: 16px;
}

.event-total-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
    padding: 15px 20px;
    border-radius: 6px;
    margin-top: 20px;
    border: 1px solid #2eaeb1;
}

.summary-item {
    display: flex;
    gap: 8px;
    align-items: center;
}

.summary-label {
    color: #aaa;
    font-size: 14px;
}

.summary-item strong {
    color: #fff;
    font-size: 15px;
}

@media (max-width: 768px) {
    .event-total-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .summary-item {
        justify-content: space-between;
    }
}

/* PAYOUTS */
.payouts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payout-card {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.payout-card:hover {
    transform: translateY(-2px);
    border-color: #2eaeb1;
}

.payout-card.paid {
    border-color: #2eaeb1;
    background: rgba(46, 174, 177, 0.05);
}

.payout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.payout-header h4 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 20px;
}

.payout-meta {
    margin: 0;
    color: #aaa;
    font-size: 14px;
}

.payout-meta i {
    color: #2eaeb1;
    margin-right: 5px;
}

.payout-amount {
    text-align: right;
}

.amount-value {
    font-size: 28px;
    font-weight: 700;
    color: #fec76f;
}

.amount-label {
    font-size: 13px;
    color: #aaa;
}

.payout-form {
    text-align: right;
}

.btn-payout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #fec76f 0%, #f5945c 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.btn-payout:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 199, 111, 0.4);
}

.payout-paid-status {
    text-align: right;
    color: #2eaeb1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    font-weight: 600;
    font-size: 16px;
}

.payout-paid-status i {
    margin-right: 5px;
}

.payout-paid-status small {
    color: #aaa;
    font-weight: normal;
    font-size: 13px;
}

/* EVENT CARDS */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-2px);
    border-color: #2eaeb1;
}

.event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.event-main-info {
    flex: 1;
}

.event-main-info h3 {
    margin: 0 0 12px 0;
    color: #fff;
    font-size: 20px;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-detail {
    color: #aaa;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-detail i {
    color: #2eaeb1;
    width: 16px;
}

.event-card-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
}

.event-qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    margin-right: 20px;
}

.event-qr-code img {
    width: 120px;
    height: 120px;
    display: block;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
}

.event-status {
    margin-bottom: 10px;
}

.event-capacity {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.capacity-sold {
    color: #2eaeb1;
}

.capacity-separator {
    color: #666;
    margin: 0 3px;
}

.capacity-total {
    color: #888;
}

.event-card-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.btn-view-event {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #2eaeb1;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    min-height: 42px;
    box-sizing: border-box;
}

.btn-view-event:hover {
    background: #27a0a5;
    transform: translateY(-2px);
    color: #fff;
}

.btn-delete-event {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #dc3545;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    min-height: 42px;
    box-sizing: border-box;
}

.btn-delete-event:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .event-card-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .event-qr-code {
        margin: 15px auto 0;
    }
    
    .event-card-stats {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #333;
        padding-top: 15px;
        margin-top: 10px;
    }
    
    .event-capacity {
        font-size: 24px;
    }
}

/* ADMIN DASHBOARD */
.admin-dashboard {
    max-width: 1400px;
    margin: 0 auto;
}

.clients-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.client-card {
    background: #2a2a2a;
    border-radius: 8px;
    border: 1px solid #333;
    overflow: hidden;
}

.client-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.client-header:hover {
    background: #333;
}

.client-main-info {
    flex: 1;
}

.client-main-info h3 {
    margin: 0 0 5px 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prefix-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #2eaeb1;
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.client-email {
    margin: 0;
    color: #aaa;
    font-size: 14px;
}

.client-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: #aaa;
    font-size: 14px;
}

.toggle-icon {
    color: #666;
    transition: transform 0.3s ease;
}

.client-card.active .toggle-icon {
    transform: rotate(180deg);
}

.client-details {
    border-top: 1px solid #333;
    padding: 25px;
}

.detail-section {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.detail-section h4 {
    margin: 0 0 20px 0;
    color: #2eaeb1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.admin-form .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #aaa;
    font-size: 13px;
    font-weight: 600;
}

.admin-form input,
.admin-form select {
    width: 100%;
    padding: 10px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.payouts-admin-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 6px;
    border: 1px solid #444;
}

.payout-item.confirmed {
    border-color: #2eaeb1;
    background: rgba(46, 174, 177, 0.1);
}

.payout-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.payout-info strong {
    color: #fff;
    font-size: 16px;
}

.payout-amount {
    color: #fec76f;
    font-size: 18px;
    font-weight: 600;
    margin-top: 5px;
}

.payout-status.confirmed {
    color: #2eaeb1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.btn-confirm-payout {
    padding: 8px 16px;
    background: #2eaeb1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-confirm-payout:hover {
    background: #27a0a5;
}

.btn-delete-contract {
    padding: 4px 8px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
    font-size: 12px;
}

.btn-delete-contract:hover {
    background: #c82333;
}

/* DLAŽDICE MENU */
.dashboard-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* PROFIL */
.profile-container {
    max-width: 900px;
}

.profile-card {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    border: 1px solid #333;
}

.profile-card h3 {
    margin: 0 0 25px 0;
    color: #2eaeb1;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

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

.profile-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-item.full-width {
    grid-column: 1 / -1;
}

.profile-item label {
    font-weight: 600;
    color: #aaa;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-value {
    padding: 12px;
    background: #1a1a1a;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    border: 1px solid #333;
}

.profile-value.readonly {
    background: #222;
    color: #888;
}

.profile-item small {
    color: #888;
    font-size: 12px;
    font-style: italic;
}

.no-contract {
    color: #888;
    font-style: italic;
    margin: 0;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #2eaeb1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-download:hover {
    background: #27a0a5;
}

.profile-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: #2eaeb1;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn-edit:hover {
    background: #27a0a5;
}

/* FORMULÁŘ */
.profile-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-form .form-group.full-width {
    grid-column: 1 / -1;
}

.profile-form label {
    font-weight: 600;
    color: #aaa;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="password"],
.profile-form input[type="tel"] {
    padding: 12px;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
    background: #1a1a1a;
    color: #fff;
}

.profile-form input[type="text"]:focus,
.profile-form input[type="email"]:focus,
.profile-form input[type="password"]:focus,
.profile-form input[type="tel"]:focus {
    outline: none;
    border-color: #2eaeb1;
}

.profile-form input:disabled {
    background: #222;
    color: #888;
    cursor: not-allowed;
    border-color: #333;
}

.profile-form small {
    color: #999;
    font-size: 12px;
    font-style: italic;
}

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: #2eaeb1;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s ease;
}

.btn-save:hover {
    background: #27a0a5;
}

.btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: #6c757d;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn-cancel:hover {
    background: #5a6268;
}

/* Hide buttons when section is hidden */
.content-section[style*="display: none"] .profile-actions,
.content-section[style*="display: none"] .btn-cancel,
.content-section[style*="display: none"] .btn-save {
    display: none !important;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.success-message i {
    font-size: 20px;
}

/* EVENT FORM */
.event-form .form-group input[type="date"],
.event-form .form-group input[type="time"],
.event-form .form-group input[type="number"],
.event-form .form-group textarea {
    padding: 12px;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
    background: #1a1a1a;
    color: #fff;
    width: 100%;
}

/* Bílé ikonky pro datum a čas */
.event-form .form-group input[type="date"]::-webkit-calendar-picker-indicator,
.event-form .form-group input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.event-form .form-group input:focus,
.event-form .form-group textarea:focus {
    outline: none;
    border-color: #2eaeb1;
}

.event-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.event-form .form-group input[type="file"] {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    cursor: pointer;
}

.event-form .form-group input[type="file"]::-webkit-file-upload-button {
    background: #2eaeb1;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.event-form .form-group input[type="file"]::-webkit-file-upload-button:hover {
    background: #27a0a5;
}

.event-form .form-group select {
    padding: 12px;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
    background: #1a1a1a;
    color: #fff;
    width: 100%;
    cursor: pointer;
}

.event-form .form-group select:focus {
    outline: none;
    border-color: #2eaeb1;
}

/* Cenové varianty */
.price-variants {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.price-variant-row {
    display: grid;
    grid-template-columns: 2fr 1fr auto; /* VŠECHNY řádky stejně */
    gap: 10px;
    align-items: end;
}

.variant-name-basic {
    /* Širší pole pro název u základní varianty */
}

.variant-price {
    /* Užší pole pro cenu */
}

.btn-add-variant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #2eaeb1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-top: 10px;
}

.btn-add-variant:hover {
    background: #27a0a5;
}

.btn-remove-variant {
    padding: 10px 12px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-variant:hover {
    background: #c82333;
}

.event-form-info {
    background: #2a2a2a;
    border-left: 4px solid #fec76f;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    border-radius: 4px;
}

.event-form-info i {
    color: #fec76f;
    font-size: 24px;
    flex-shrink: 0;
}

.event-form-info p {
    margin: 0;
    color: #ccc;
    line-height: 1.6;
}

/* AVATAR */
.avatar-display {
    text-align: center;
    padding: 20px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2eaeb1;
}

.avatar-placeholder-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #666;
}

.avatar-upload-section {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 20px;
}

.current-avatar {
    flex-shrink: 0;
}

.current-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2eaeb1;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #666;
}

.avatar-upload-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #2eaeb1;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
    width: fit-content;
}

.btn-upload:hover {
    background: #27a0a5;
}

#avatar-preview-name {
    color: #2eaeb1;
    font-weight: 500;
    font-size: 14px;
}

.tile {
    background: #2eaeb1;
    border-radius: 12px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.tile:nth-child(1) {
    background: #be95be;
}

.tile:nth-child(2) {
    background: #fec76f;
}

.tile:nth-child(3) {
    background: #f5945c;
}

.tile-icon {
    font-size: 48px;
    margin-bottom: 15px;
    text-align: center;
}

.tile h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    text-align: center;
    font-weight: 700;
}

.tile-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tile-links a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    background: rgba(0,0,0,0.25);
    border-radius: 6px;
    text-align: center;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.tile-links a:hover {
    background: rgba(0,0,0,0.35);
}

.tile-links a i {
    font-size: 14px;
}

.btn-logout {
    padding: 10px 20px;
    background: #dc3545;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.btn-logout:hover {
    background: #c82333;
}

.akce-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #2a2a2a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    border: 1px solid #333;
}

.akce-table thead {
    background: #1a1a1a;
}

.akce-table th,
.akce-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
    color: #fff;
}

.akce-table th {
    font-weight: bold;
    color: #2eaeb1;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-publish {
    background: #d4f4dc;
    color: #2eaeb1;
}

.status-draft {
    background: #fff3cd;
    color: #856404;
}

.btn-view {
    padding: 6px 12px;
    background: #2eaeb1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    display: inline-block;
}

.btn-view:hover {
    background: #27a0a5;
}

/* IMAGE UPLOAD PREVIEW */
.image-upload-wrapper {
    margin-top: 10px;
}

.image-preview {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #2eaeb1;
}

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

.btn-remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.btn-remove-image:hover {
    background: #c82333;
}

.btn-upload-image {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #2eaeb1;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-upload-image:hover {
    background: #27a0a5;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.gallery-item {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #333;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-remove-gallery-item {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.btn-remove-gallery-item:hover {
    background: #c82333;
}
