body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 20px;
}

.container {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.controls {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.controls label {
    font-size: 14px;
    font-weight: bold;
    color: #b0b0b0;
}

.controls input, .controls textarea {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #2a2a2a;
    color: white;
}

.controls textarea {
    resize: vertical;
    height: 80px;
}

button {
    background: #6200ee;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: #7700ff;
}

/* Card Design Frame */
.card-frame {
    width: 320px;
    height: 510px;
    background: linear-gradient(135deg, #d4af37, #aa771c);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    box-sizing: border-box;
}


.card-header {
    background: #f4f1ea;
    color: #222;
    padding: 6px 10px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #555;
    border-bottom: none;
}

.card-type-row {
    background: #f4f1ea;
    color: #444;
    padding: 2px 10px 6px 10px;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid #555;
    border-top: none;
    margin-bottom: 6px;
}


.card-image-container {
    flex-grow: 1;
    background: #222;
    margin: 10px 0;
    border: 4px solid #444;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

#image-placeholder {
    color: #777;
    font-size: 13px;
}

.card-footer {
    background: #f4f1ea;
    color: #222;
    padding: 8px 10px;
    border-radius: 8px;
    height: 100px;
    font-size: 13px;
    border: 2px solid #555;
    overflow: hidden;
}
