:root {
    --bg1: #fff7cc;
    --bg2: #fffdf2;
    --card: #ffffff;
    --text: #333333;
    --muted: #6b6b6b;
    --yellow: #ffd54f;
    --yellow-strong: #ffca28;
    --yellow-dark: #f9a825;
    --yellow-soft: #fff4b8;
    --border: #efd36a;
    --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    --radius: 18px;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    color: var(--text);
    background: linear-gradient(135deg, var(--bg1), var(--bg2));
    min-height: 100vh;
	font-family: 'Source Code Pro', monospace;
	font-size: 15px;
	letter-spacing: 2px;
	line-height: 1.45;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: var(--card);
    padding: 28px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    margin-top: 24px;
    margin-bottom: 24px;
}

h1, h2, h3 {
    margin-top: 0;
    line-height: 1.2;
    color: var(--yellow-dark);
}

h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h2 {
    font-size: clamp(1.3rem, 2.1vw, 1.8rem);
}

h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

p {
    line-height: 1.6;
}

.hero-note {
    color: #b57900;
    font-weight: bold;
    margin-top: -8px;
    margin-bottom: 18px;
    font-size: 1rem;
}

a {
    color: #8a5d00;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.button,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-strong));
    color: #333;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    font-size: 0.95rem;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.button.secondary {
    background: #fff;
    border: 2px solid var(--yellow);
}

label {
    display: block;
    margin-top: 14px;
    font-weight: bold;
    font-size: 0.95rem;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    margin-top: 6px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px rgba(255, 213, 79, 0.25);
}

.row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.msg {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.msg.ok {
    background: #fff9da;
    border: 1px solid var(--border);
    color: #735d00;
}

.msg.error {
    background: #ffe8e8;
    border: 1px solid #f0b1b1;
    color: #8d1e1e;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.searchform {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
    align-items: center;
}

.searchform input[type="text"] {
    width: min(100%, 280px);
}

.small {
    font-size: 12px;
    color: var(--muted);
}

hr {
    border: none;
    border-top: 1px solid #f3e29d;
    margin: 24px 0;
}

.form-actions {
    margin-top: 20px;
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.inline-actions form {
    margin: 0;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 16px;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 900px;
}

th,
td {
    border: 1px solid #ececec;
    padding: 12px;
    text-align: left;
    vertical-align: top;
    font-size: 0.95rem;
}

th {
    background: var(--yellow);
    color: #333;
    position: sticky;
    top: 0;
}

tr:nth-child(even) {
    background: #fffdf4;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    background: var(--yellow-soft);
    color: #6b5600;
    margin-bottom: 8px;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.design-card {
    background: #fff;
    border: 1px solid #f0e2a0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.design-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #fafafa;
}

.design-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.design-preview {
    max-width: 320px;
    border-radius: 14px;
    border: 1px solid #eee;
    display: block;
}

.image-grid-admin,
.selected-design-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.image-slot,
.selected-design-image-card {
    border: 1px solid #f0e2a0;
    border-radius: 14px;
    padding: 12px;
    background: #fffdf7;
}

.image-slot img,
.selected-design-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-top: 8px;
    background: #fafafa;
}

.selected-design-label {
    font-weight: bold;
    color: #8a5d00;
    margin-bottom: 10px;
}

.badge-main {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #ffe082;
    color: #6b5600;
    font-size: 12px;
    font-weight: bold;
}

.section-title {
    margin-top: 28px;
}

.honeypot-wrap {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

img.img {
	border-radius: 50%;
}
.icon {
	float: left;
	padding-left: 10%;
	padding-right: 5%;
	margin-top: -5px;
	font-size: 30px;
	vertical-align: sub;
}
.fa-instagram {
    color: transparent;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
}
.profile-picture {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2%;
	height: auto;
	max-width: 100px;
}
.profile-name {
	text-align: center;
	padding: 10px;
}
.links {
	margin-top: 10px;
	padding: 20px;
	border: 1px solid #FFC107;
	border-width: 2px;
	width: 300px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	border-radius: 40px;
}
a {
	text-decoration: none;
	color: #b98b00;
	transition: color 1s;
}
.bottom-text {
	text-align: center;
	margin-top: 20px;
	font-size: 20px;
	font-weight: bold;
}
a:hover {
	color: #000;
	background: #fff;
}

@media (max-width: 900px) {
    .page {
        padding: 16px;
    }

    .card {
        padding: 22px;
    }

    .row {
        grid-template-columns: 1fr;
    }

    .topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .searchform {
        flex-direction: column;
        align-items: stretch;
    }

    .searchform input[type="text"] {
        width: 100%;
    }

    .inline-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .inline-actions .button,
    .inline-actions button,
    .inline-actions form {
        width: 100%;
    }

    .inline-actions form button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .page {
        padding: 12px;
    }

    .card {
        padding: 16px;
        border-radius: 14px;
        margin-top: 12px;
        margin-bottom: 12px;
    }

    h1 {
        margin-bottom: 8px;
    }

    .hero-note {
        margin-bottom: 14px;
    }

    .design-grid {
        grid-template-columns: 1fr;
    }

    .image-grid-admin,
    .selected-design-gallery {
        grid-template-columns: 1fr;
    }

    table {
        min-width: 760px;
    }
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.order-cards {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.order-card {
    background: #fff;
    border: 1px solid #f0e2a0;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    padding: 16px;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.order-card-title {
    margin: 0;
    font-size: 1.05rem;
    color: var(--yellow-dark);
}

.order-card-date {
    font-size: 12px;
    color: var(--muted);
}

.order-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f3e29d;
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
}

.order-field {
    min-width: 0;
}

.order-label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: var(--muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.order-value {
    word-break: break-word;
}

.order-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.order-actions form {
    margin: 0;
}

.order-actions button,
.order-actions .button,
.order-actions select {
    width: 100%;
}

.order-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.order-image-box {
    border: 1px solid #f0e2a0;
    border-radius: 12px;
    background: #fffdf7;
    padding: 10px;
}

.order-image-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
}

.order-image-box img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fafafa;
}

@media (max-width: 820px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

@media (max-width: 560px) {
    .order-grid {
        grid-template-columns: 1fr;
    }

    .order-images-grid {
        grid-template-columns: 1fr;
    }

    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

