* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 40px;
}

/* Logo Styles */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 2.5em;
}

p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.password-form {
    margin-top: 30px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

textarea, input[type="text"], select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

textarea {
    height: 100px;
    resize: vertical;
    font-family: monospace;
}

textarea:focus, input:focus, select:focus {
    outline: none;
    border-color: #667eea;
}

.btn-primary, .btn-secondary, .btn-copy {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #667eea;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    margin-top: 20px;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-copy {
    background: #28a745;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
}

.btn-copy:hover {
    background: #218838;
}

.success-box, .error-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.link-box {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.link-box input {
    flex: 1;
}

.warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
}

.warning ul {
    margin-left: 20px;
    margin-top: 10px;
}

.password-display {
    margin: 30px 0;
}

.password-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.password-content {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.password-content textarea {
    flex: 1;
    font-family: monospace;
    font-size: 16px;
    font-weight: bold;
    min-height: 60px;
    resize: vertical;
}

.info-box {
    background: #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

.info-box p {
    text-align: left;
    margin-bottom: 5px;
}

.security-notice {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.security-notice h3 {
    margin-bottom: 10px;
    color: #0c5460;
}

.security-notice ul {
    margin-left: 20px;
}

.error-box {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.error-box h3 {
    margin-bottom: 10px;
}

.error-box ul {
    margin-left: 20px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    .logo {
        max-width: 150px;
        max-height: 75px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .link-box, .password-content {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2em;
    }
}

.preview-info {
    margin: 30px 0;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.warning-box h3 {
    color: #856404;
    margin-bottom: 10px;
}

.warning-box p {
    color: #856404;
    margin: 0;
    text-align: left;
}

.button-container {
    text-align: center;
    margin: 30px 0;
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
    font-weight: bold;
    min-width: 250px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-large:active {
    transform: translateY(-1px);
}

/* Pulsing Animation für den Button */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(102, 126, 234, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
}

.btn-large {
    animation: pulse 2s infinite;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .btn-large {
        min-width: 200px;
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .warning-box {
        padding: 15px;
    }
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin: 20px 0;
    font-weight: 600;
}

.btn-large:disabled {
    cursor: not-allowed;
    transform: none;
    animation: none;
}

.btn-large:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}