.td-fadmin {
max-width: 1000px;
margin: 0 auto;
padding: 0 20px 80px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
} .td-fadmin-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 16px;
padding: 32px 0 28px;
border-bottom: 2px solid #EAE2D8;
margin-bottom: 32px;
}
.td-fadmin-header-right {
display: flex;
align-items: center;
gap: 12px;
}
.td-fadmin-title {
font-family: Georgia, serif;
font-size: 1.8rem;
color: #2C2420;
margin: 0 0 4px;
}
.td-fadmin-subtitle {
color: #9B8880;
font-size: 0.9rem;
margin: 0;
}
.td-fadmin-back {
display: inline-block;
color: #9B8880;
text-decoration: none;
font-size: 0.9rem;
margin-bottom: 8px;
}
.td-fadmin-back:hover { color: #822212; }
.td-fadmin-logout {
color: #9B8880;
font-size: 0.85rem;
text-decoration: none;
}
.td-fadmin-logout:hover { color: #822212; } .td-fadmin-notice {
padding: 14px 18px;
border-radius: 10px;
margin-bottom: 24px;
font-size: 0.95rem;
font-weight: 500;
}
.td-fadmin-notice--success {
background: #f0fdf4;
border: 1px solid #bbf7d0;
color: #166534;
}
.td-fadmin-notice--error {
background: #fef2f2;
border: 1px solid #fecaca;
color: #dc2626;
}
.td-fadmin-notice--info {
background: #f9f4ee;
border: 1px solid #EAE2D8;
color: #6B5A50;
} .td-fadmin-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.td-fadmin-item {
display: flex;
align-items: center;
gap: 16px;
background: #fff;
border: 1px solid #EAE2D8;
border-radius: 12px;
padding: 14px 18px 14px 14px;
box-shadow: 0 2px 8px rgba(123,45,66,0.06);
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.td-fadmin-item:hover {
box-shadow: 0 4px 16px rgba(123,45,66,0.10);
transform: translateY(-1px);
}
.td-fadmin-item-thumb {
width: 72px;
height: 72px;
border-radius: 8px;
overflow: hidden;
flex-shrink: 0;
background: #F9F4EE;
display: flex;
align-items: center;
justify-content: center;
}
.td-fadmin-item-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.td-fadmin-item-thumb--empty {
font-size: 1.8rem;
color: #D4C5BA;
}
.td-fadmin-item-info {
flex: 1;
min-width: 0;
}
.td-fadmin-item-datum {
font-size: 0.8rem;
color: #9B8880;
margin-right: 10px;
}
.td-fadmin-item-nazev {
font-size: 0.8rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #822212;
}
.td-fadmin-item-title {
font-family: Georgia, serif;
font-size: 1.05rem;
color: #2C2420;
margin: 4px 0 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.td-fadmin-draft-badge {
display: inline-block;
font-size: 0.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #9B8880;
background: #F9F4EE;
border: 1px solid #EAE2D8;
border-radius: 100px;
padding: 2px 8px;
margin-top: 4px;
}
.td-fadmin-item-actions {
display: flex;
gap: 8px;
align-items: center;
flex-shrink: 0;
}
.td-fadmin-btn-view {
background: #F9F4EE;
color: #6B5A50;
border-color: #EAE2D8;
}
.td-fadmin-btn-view:hover {
background: #EAE2D8;
color: #2C2420;
}
.td-fadmin-btn-delete {
background: transparent;
color: #9B8880;
border: 1.5px solid #EAE2D8;
border-radius: 100px;
padding: 8px 12px;
cursor: pointer;
font-size: 0.9rem;
transition: all 0.2s ease;
}
.td-fadmin-btn-delete:hover {
background: #fef2f2;
color: #dc2626;
border-color: #fecaca;
}
.td-fadmin-delete-form {
margin: 0;
} .td-fadmin-empty {
text-align: center;
padding: 60px 24px;
background: #F9F4EE;
border-radius: 16px;
border: 1px dashed #EAE2D8;
color: #6B5A50;
}
.td-fadmin-empty p {
font-size: 1.1rem;
margin-bottom: 20px;
} .td-fadmin-form-grid {
display: grid;
grid-template-columns: 1fr 320px;
gap: 28px;
align-items: start;
}
@media (max-width: 768px) {
.td-fadmin-form-grid {
grid-template-columns: 1fr;
}
}
.td-fadmin-field {
margin-bottom: 20px;
}
.td-fadmin-field label {
display: block;
font-size: 0.88rem;
font-weight: 600;
color: #2C2420;
margin-bottom: 6px;
}
.td-required { color: #822212; }
.td-fadmin-field input[type="text"],
.td-fadmin-field input[type="url"],
.td-fadmin-field input[type="date"],
.td-fadmin-field textarea,
.td-fadmin-field select {
width: 100%;
padding: 11px 14px;
border: 1.5px solid #EAE2D8;
border-radius: 10px;
font-size: 0.95rem;
color: #2C2420;
background: #FDFAF7;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
outline: none;
font-family: inherit;
}
.td-fadmin-field input:focus,
.td-fadmin-field textarea:focus,
.td-fadmin-field select:focus {
border-color: #822212;
box-shadow: 0 0 0 3px rgba(123,45,66,0.1);
background: #fff;
}
.td-fadmin-field textarea {
resize: vertical;
line-height: 1.6;
}
.td-fadmin-hint {
font-size: 0.8rem;
color: #9B8880;
margin: 6px 0 0;
} .td-fadmin-thumb-wrap {
display: flex;
flex-direction: column;
gap: 12px;
}
.td-fadmin-thumb-preview {
width: 100%;
max-width: 300px;
aspect-ratio: 4/3;
background: #F9F4EE;
border: 2px dashed #EAE2D8;
border-radius: 10px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
color: #D4C5BA;
font-size: 2rem;
}
.td-fadmin-thumb-preview img {
width: 100%;
height: 100%;
object-fit: cover;
}
.td-fadmin-thumb-preview:empty::before { content: "🖼️"; }
.td-fadmin-thumb-buttons {
display: flex;
gap: 8px;
align-items: center;
}
.td-fadmin-btn-remove {
background: none;
border: none;
color: #9B8880;
font-size: 0.85rem;
cursor: pointer;
padding: 0;
text-decoration: underline;
}
.td-fadmin-btn-remove:hover { color: #dc2626; } .td-fadmin-gallery-preview {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 12px;
min-height: 20px;
}
.td-fadmin-gallery-item {
position: relative;
width: 80px;
height: 80px;
border-radius: 8px;
overflow: hidden;
border: 2px solid #EAE2D8;
}
.td-fadmin-gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
}
.td-fadmin-gallery-remove {
position: absolute;
top: 2px;
right: 2px;
width: 20px;
height: 20px;
background: rgba(220,50,50,0.85);
color: #fff;
border: none;
border-radius: 50%;
font-size: 13px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
line-height: 1;
} .td-fadmin-side-box {
background: #fff;
border: 1px solid #EAE2D8;
border-radius: 12px;
padding: 20px;
margin-bottom: 16px;
box-shadow: 0 2px 8px rgba(123,45,66,0.06);
}
.td-fadmin-side-title {
font-family: Georgia, serif;
font-size: 1rem;
color: #2C2420;
margin: 0 0 16px;
padding-bottom: 10px;
border-bottom: 1px solid #EAE2D8;
}
.td-fadmin-side-actions {
display: flex;
flex-direction: column;
gap: 10px;
}
.td-fadmin-submit {
width: 100%;
justify-content: center;
padding: 14px;
font-size: 1rem;
} .td-fadmin-login {
display: flex;
justify-content: center;
padding: 60px 20px;
}
.td-fadmin-login-box {
text-align: center;
background: #fff;
border: 1px solid #EAE2D8;
border-radius: 16px;
padding: 48px 40px;
box-shadow: 0 4px 20px rgba(123,45,66,0.10);
max-width: 400px;
}
.td-fadmin-login-box h2 {
font-family: Georgia, serif;
color: #2C2420;
margin-bottom: 12px;
}
.td-fadmin-login-box p {
color: #6B5A50;
margin-bottom: 24px;
} @media (max-width: 600px) {
.td-fadmin-item {
flex-wrap: wrap;
}
.td-fadmin-item-actions {
width: 100%;
justify-content: flex-end;
}
.td-fadmin-header {
flex-direction: column;
align-items: flex-start;
}
} .td-fadmin .td-btn-primary,
.td-fadmin .td-btn-primary:hover,
.td-fadmin .td-btn-primary:visited {
background-color: #822212 !important;
color: #fff !important;
border-color: #822212 !important;
text-shadow: none !important;
}
.td-fadmin .td-btn-primary:hover {
background-color: #6a1a0f !important;
border-color: #6a1a0f !important;
}
.td-fadmin .td-fadmin-submit {
background-color: #822212 !important;
color: #fff !important;
border-color: #822212 !important;
} .td-fadmin-header .td-btn-primary {
background: #822212 !important;
color: #fff !important;
border-color: #822212 !important;
font-weight: 600 !important;
padding: 12px 24px !important;
} .td-fadmin .td-btn,
.td-fadmin .td-btn:hover,
.td-fadmin .td-btn:visited {
background-color: #822212 !important;
border-color: #822212 !important;
color: #fff !important;
}
.td-fadmin .td-btn:hover {
background-color: #6a1a0f !important;
}
.td-fadmin-login-box .td-btn,
.td-fadmin-login-box .td-btn:hover {
background-color: #822212 !important;
color: #fff !important;
border-color: #822212 !important;
} .td-fadmin-tabs {
display: flex;
gap: 8px;
margin-bottom: 24px;
border-bottom: 2px solid #EAE2D8;
padding-bottom: 0;
}
.td-fadmin-tab {
padding: 10px 20px;
font-size: 0.92rem;
font-weight: 600;
color: #6B5A50;
text-decoration: none;
border-bottom: 3px solid transparent;
margin-bottom: -2px;
transition: color .2s ease, border-color .2s ease;
}
.td-fadmin-tab:hover {
color: #822212;
}
.td-fadmin-tab.is-active {
color: #822212;
border-bottom-color: #822212;
} .td-fadmin-item-meta-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin-bottom: 4px;
font-size: 0.82rem;
color: #9B8880;
} .td-fadmin-divider {
border: none;
border-top: 1px solid #EAE2D8;
margin: 24px 0;
} .td-novinka-sekce-wrap {
background: #F9F4EE;
border: 1px solid #EAE2D8;
border-radius: 12px;
padding: 16px 18px;
margin-bottom: 16px;
}
.td-novinka-sekce-header {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 10px;
}
.td-novinka-sekce-label {
font-weight: 700;
font-size: 0.85rem;
color: #822212;
}
.td-sekce-toggle-nadpis {
display: flex;
align-items: center;
gap: 6px;
font-size: 0.85rem;
color: #6B5A50;
cursor: pointer;
flex: 1;
}
.td-sekce-delete {
background: none;
border: none;
color: #9B8880;
font-size: 1.1rem;
cursor: pointer;
line-height: 1;
padding: 4px 8px;
border-radius: 6px;
}
.td-sekce-delete:hover {
color: #dc2626;
background: rgba(220,38,38,.08);
}
.td-nadpis-field {
margin-bottom: 10px;
}
.td-fadmin-textarea--lg {
min-height: 120px;
} .td-slider-preview {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 10px 0;
}
.td-slider-thumb {
position: relative;
width: 72px;
height: 72px;
border-radius: 8px;
overflow: hidden;
border: 1px solid #EAE2D8;
}
.td-slider-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.td-slider-thumb-remove {
position: absolute;
top: 2px;
right: 2px;
width: 20px;
height: 20px;
border-radius: 50%;
background: rgba(0,0,0,.6);
color: #fff;
border: none;
cursor: pointer;
font-size: 0.85rem;
line-height: 1;
} .td-fadmin-vzkazy { margin-top: 8px; }
.td-fadmin-vzkazy .tv-wrap { padding: 0; }
.td-fadmin-vzkazy .tv-card { box-shadow: none; border: 1px solid #e6ddd6; }