/**
 * Badge Generator CSS Styles
 * 
 * Diese Datei kann auch lokal geöffnet werden, um die Styles zu testen.
 */

.badge-generator-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.badge-generator-wrapper {
    background: linear-gradient(117deg, #0072bc 0%, #002d62 100%) !important;
    border-radius: 0px;
    padding: 60px;
}

.badge-generator-header {
    text-align: center;
    margin-bottom: 30px;
}

.badge-generator-header h3 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.badge-generator-header p {
    margin: 0;
    color: white;
    font-size: 16px;
}

.badge-generator-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.upload-controls {
    text-align: center;
    margin-top: 20px;
}

.upload-hint {
    margin: 10px 0 0 0;
    color: white;
    font-size: 14px;
}

.preview-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.canvas-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: move;
    user-select: none;
    touch-action: none;
    border: 4px solid white;
}

.canvas-container canvas {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    cursor: move;
}

.canvas-container.has-image {
    cursor: grab;
}

.canvas-container.has-image:active {
    cursor: grabbing;
}

.badge-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-remove {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 0px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-download {
    background: #0a9400;
    color: white;
    border: none;
    border-radius: 0px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-upload {
    background: #0074C2;
    color: white;
    border: none;
    border-radius: 0px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
