/* Tappy Editor Stylesheet */

body {
    background-color: antiquewhite;
    font-family: 'Playfair Display', Georgia, serif;
    margin: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.editor-container {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    max-width: 384px; /* entspricht max-w-sm (24rem) */
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    box-sizing: border-box;
    margin-bottom: 24px;
}

.editor-title {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 28px;
}

.editor-subtitle {
    margin-top: 0;
    margin-bottom: 24px;
    font-style: italic;
    color: #555;
}

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

.form-label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: bold;
}

.form-label-accent {
    color: #b25e00;
}

.form-input {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.2);
    font-family: inherit;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.form-input-file {
    width: 100%;
    margin-bottom: 12px;
    font-family: inherit;
}

.form-textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.2);
    font-family: inherit;
    box-sizing: border-box;
    margin-bottom: 12px;
    resize: vertical;
}

.form-select {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.2);
    font-family: inherit;
    box-sizing: border-box;
    margin-bottom: 12px;
    background: white;
    font-weight: bold;
}

.btn-add-social {
    margin-top: 4px;
    margin-bottom: 20px;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    background-color: #555;
    color: white;
    border: none;
    border-radius: 4px;
}

.btn-export {
    padding: 12px 24px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    cursor: pointer;
    background-color: #222;
    color: antiquewhite;
    border: none;
    border-radius: 8px;
    width: 100%;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qr-section {
    margin-top: 20px;
    border-top: 1px dashed rgba(0,0,0,0.2);
    padding-top: 16px;
    text-align: left;
}

.qr-label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: bold;
    color: #333;
}

.qr-input {
    width: 100%;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.2);
    font-family: inherit;
    box-sizing: border-box;
    font-size: 13px;
}

.qr-hint {
    margin: 4px 0 0 0;
    font-size: 11px;
    color: #666;
    font-style: italic;
}

.maker-details {
    cursor: pointer;
    margin-top: 24px;
    text-align: left;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 16px;
}

.maker-summary {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    outline: none;
}

.maker-text {
    margin-top: 8px;
    margin-bottom: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.maker-link {
    color: #222;
    font-weight: bold;
}

.qr-preview-container {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    max-width: 384px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    box-sizing: border-box;
    display: none; /* Wird über JS gesteuert */
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.qr-preview-title {
    margin-top: 0;
    margin-bottom: 4px;
}

.qr-preview-subtitle {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 13px;
    color: #555;
    font-style: italic;
}

.qr-code-wrapper {
    padding: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}