* {
    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;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
}

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

.header h1 {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

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

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.file-upload-container{
    padding: 20px 0;
}

.name-selector-intro{
    padding: 20px 0;
}

.file-upload-wrapper {
    position: relative;
    background: #f8f9fa;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.file-upload-wrapper.dragover {
    border-color: #667eea;
    background: #e0e7ff;
    transform: scale(1.02);
}

.file-upload-input {
    /*position: absolute;*/
    /*opacity: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*cursor: pointer;*/
}

.file-upload-content {
    pointer-events: none;
}

.upload-icon {
    font-size: 40px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.upload-text {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
}

.camera-button {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.camera-button:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.file-preview {
    margin-top: 15px;
    padding: 10px;
    background: #e0e7ff;
    border-radius: 8px;
    font-size: 14px;
    color: #4c51bf;
    display: none;
}
.people-selector {
    display: inline;
}
.people-selector-label {
    display: block;
}
.people-selector::after {
    clear: both;
}
.style-grid {
    margin-top: 20px;
    display: grid;
    /*grid-template-columns: repeat(2, 1fr);*/
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.style-option {
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.style-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
    var(--color1, #ff6b6b),
    var(--color2, #4ecdc4)
    );
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.style-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.style-option:hover::before {
    opacity: 0.2;
}

.style-option.selected {
    border-color: #667eea;
    background: #f0f4ff;
    transform: scale(1.05);
}

.style-option.selected::before {
    opacity: 0.3;
}

.style-number {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.style-name {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Style variations */
.style-option:nth-child(1) { --color1: #ff6b6b; --color2: #ffa500; }
.style-option:nth-child(2) { --color1: #4ecdc4; --color2: #44a08d; }
.style-option:nth-child(3) { --color1: #a8edea; --color2: #fed6e3; }
.style-option:nth-child(4) { --color1: #ffecd2; --color2: #fcb69f; }
.style-option:nth-child(5) { --color1: #667eea; --color2: #764ba2; }
.style-option:nth-child(6) { --color1: #f093fb; --color2: #f5576c; }
.style-option:nth-child(7) { --color1: #4facfe; --color2: #00f2fe; }
.style-option:nth-child(8) { --color1: #43e97b; --color2: #38f9d7; }
.style-option:nth-child(9) { --color1: #fa709a; --color2: #fee140; }
.style-option:nth-child(10) { --color1: #a8e6cf; --color2: #dcedc8; }

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
        margin: 10px;
    }

    .style-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .style-option {
        padding: 15px 10px;
    }
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    display: none;
    text-align: center;
}
