/* Allgemein */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #f4f5f7;
    margin: 0;
    padding: 0;
    color: #111827;
}

header {
    background: #16a34a;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.auth-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 400px;
    margin: 20px auto;
}

.auth-box h2 {
    margin-top: 0;
    color: #16a34a;
    text-align: center;
}

.auth-box input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

.auth-box button {
    width: 100%;
    padding: 12px;
    background: #16a34a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-box button:hover {
    background: #15803d;
}

.error {
    color: #dc2626;
    font-weight: bold;
}

.success {
    color: #16a34a;
    font-weight: bold;
}

/* Bestellformular */
.order {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.order h2 {
    text-align: center;
    color: #16a34a;
    margin-top: 0;
}

label {
    display: block;
    margin: 15px 0 5px;
    font-weight: 600;
}

/* Produktoptionen */
.product-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.product-option {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    flex: 1 1 120px;
    transition: all 0.3s;
}

.product-option img {
    border-radius: 8px;
    margin-bottom: 8px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.product-option span {
    display: block;
    font-size: 14px;
    color: #374151;
}

.product-option.selected {
    border-color: #16a34a;
    background: #ecfdf5;
    box-shadow: 0 0 10px rgba(22,163,74,0.3);
}

/* Farben */
.color-picker {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.color {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s;
}

.color img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}

.color.selected {
    border-color: #16a34a;
    transform: scale(1.1);
}

/* Gravur */
input[name="custom_text"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    margin-top: 5px;
}

/* Preisanzeige */
.price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 20px;
    color: #111827;
    text-align: center;
}

/* PayPal Button */
#paypal-button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Footer */
footer {
    text-align: center;
    margin: 50px 0 20px;
    color: #6b7280;
    font-size: 14px;
}
