/**
 * STYLE.CSS - Modern and minimal design for Badge Event
 * SaaS-style responsive optimized for mobile
 */

/* Reset and base settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333;
}

.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* REGISTRATION FORM */
.registration-form {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.form-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 14px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background: #f9f9f9;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
}

/* BUTTONS */
.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.btn-yes {
    background: #10b981;
    color: white;
}

.btn-yes:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-no {
    background: #ef4444;
    color: white;
}

.btn-no:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* BUTTON GROUP */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.button-group .btn,
.button-group form {
    flex: 1;
    min-width: 200px;
}

.button-group form {
    margin: 0;
}

.button-group .btn {
    margin: 0;
}

/* BADGE PREVIEW */
.badge-preview {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 30px 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.badge-logo {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
}

.badge-logo h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    color: white;
}

.badge-qr {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0;
    background: white;
    padding: 15px;
    border-radius: 10px;
}

#qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
}

#qrcode img {
    border-radius: 5px;
}

.badge-info {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 2px dashed rgba(255, 255, 255, 0.3);
    border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
    padding: 10px 0;
}

.info-row .label {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.8;
    font-weight: 600;
    letter-spacing: 1px;
}

.info-row .value {
    font-size: 18px;
    font-weight: 700;
    text-align: right;
}

.badge-footer {
    text-align: center;
    margin-top: 20px;
}

.badge-footer p {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CONFIRMATION */
.confirmation {
    text-align: center;
}

.confirmation h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.confirm-form {
    display: inline-block;
    margin: 0 5px;
    width: calc(50% - 10px);
}

/* SUCCESS MESSAGE */
.success-message {
    background: white;
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: white;
    font-size: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-message h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.success-message p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* WARNING BOX */
.warning-box {
    background: #fffbeb;
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box p {
    color: #92400e;
    margin: 8px 0;
}

.warning-box ul {
    color: #92400e;
    margin: 10px 0 10px 20px;
}

.warning-box li {
    margin: 5px 0;
}

.btn-download {
    display: inline-block;
    margin-top: 15px;
    width: auto;
    padding: 12px 24px;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .registration-form,
    .badge-preview,
    .success-message {
        padding: 25px 20px;
    }
    
    .form-header h1 {
        font-size: 24px;
    }
    
    .badge-logo h1 {
        font-size: 28px;
    }
    
    .info-row .value {
        font-size: 16px;
    }
    
    .confirm-form {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .button-group .btn,
    .button-group form {
        width: 100%;
        min-width: auto;
    }
}
