body {
    margin: 0;
    padding: 5vh 0;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10,10,10,1) 0%, rgba(30,30,40,1) 50%, rgba(50,60,70,1) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px;
    max-width: 1200px;
    width: 90%;
    color: #747474;
}

.hero {
    padding: 1rem 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Base modal look – light glass with dark text */
.modal-content {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #222;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    padding: 0.75rem 1rem 1rem 1rem;
    font-size: 0.9rem;
}

/* Header / title */
.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
}

.modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
}

/* Close button – tmavá ikona, bez invert */
.btn-close {
    filter: none;
    opacity: 0.7;
}
.btn-close:hover {
    opacity: 1;
}

.user-settings-modal .modal-dialog {
    max-width: 480px;
}

.user-settings-modal .modal-content {
    padding: 0.75rem 1rem 1rem 1rem;
    font-size: 0.9rem;
}

.user-settings-modal .modal-body {
    padding-top: 0.5rem;
}

.user-settings-modal h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
}

.user-settings-modal .modal-body {
    padding: 0.75rem;
}

/* Account + Lightroom headings */
.user-settings-modal h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
}

/* Status text (Connected / Not connected) */
#lightroomStatusText {
    font-size: 0.8rem;
}

/* Buttons in user settings (Connect / Disconnect) – sladit se zbytkem UI */
.user-settings-modal #connectLightroomBtn,
.user-settings-modal #disconnectLightroomBtn {
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.8rem;
}

/* Outline primaries/dangers, aby ladily se zbytkem */
.btn-outline-primary {
    border-color: #ff652f;
    color: #ff652f;
    background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #ff652f;
    border-color: #ff652f;
    color: #000;
}

.btn-outline-danger {
    border-color: #ff4b4b;
    color: #ff4b4b;
    background-color: transparent;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    background-color: #ff4b4b;
    border-color: #ff4b4b;
    color: #000;
}

.errorModal .modal-content {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
}

.errorModal .modal-title span {
    color: #c53030;
}

.errorModal .modal-content {
    border-left: 3px solid #c53030;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.uploadSection {
    padding: 1rem 1rem;
    margin: 0;
}

h2, h4 {
    color: #747474;
}

.highlight {
    background-color: rgba(255, 255, 255, 0.3);
    color: #333;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.75em;
    margin: 2px;
    display: inline-block;
}

.btn-primary, .btn-secondary {
    border-radius: 6px;
    padding: 4px 10px;
    font-weight: normal;
    border-color: #ff652f;
    background-color: transparent;
}

.btn-primary:hover, .btn-secondary:hover,
.btn-primary:active, .btn-secondary:active,
.btn-primary:focus, .btn-secondary:focus
{
    background-color: #ff652f;
    border-color: #ff652f;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    backdrop-filter: blur(4px);
    border-radius: 8px;
    color: lightgray;
    height: 100%;
}

.card img {
    border-radius: 8px 8px 0 0;
}

.gallery-title {
    margin-top: 30px;
    color: #747474;
}

.blur-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: url('./../img/background3.jpg') no-repeat center center/cover;
    filter: blur(10px);
    opacity: 0.2;
}

.copy-container {
    display: block;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.copy-btn {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: 8px;
    display: flex;
    align-items: flex-start;
}

.copy-btn svg {
    width: 16px;
    height: 16px;
    fill: #747474;
    transition: fill 0.3s ease;
}

.copy-btn:hover svg {
    fill: white;
}

.copy-btn.copied svg {
    fill: #14a76c;
}

.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 37%, rgba(255, 255, 255, 0.1) 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 8px;
    width: 100%;
    height: 250px;
    margin-bottom: 16px;
}

@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.footer {
    color: #747474;
    text-align: center;
    padding: 20px 10px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer a {
    color: #ff652f;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

.file-input {
    flex-grow: 1;
    min-width: 180px;
    width: auto !important;
}

select, button {
    flex-shrink: 0;
    width: auto;
}

.form-select {
    width: auto !important;
}

.upload-info-text {
    color: #747474 !important;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .file-input {
        width: 100% !important;
    }

    select, button {
        width: 100%;
        min-width: 100%;
    }
}