* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.register-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.register-header {
    background: linear-gradient(135deg, #a78bfa 0%, #c084fc 100%);
    padding: 40px;
    text-align: center;
    color: white;
}

.register-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.register-header p {
    font-size: 16px;
    opacity: 0.95;
}

.register-body {
    padding: 40px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a78bfa;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.photo-upload {
    border: 2px dashed #a78bfa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
}

.photo-upload:hover {
    background: #f8f5ff;
}

.photo-upload input[type="file"] {
    display: none;
}

.photo-preview {
    margin-top: 15px;
    text-align: center;
    display: none;
}

.photo-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 10px;
    border: 3px solid #a78bfa;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 10px;
    color: #a78bfa;
}

.btn-container {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.login-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .register-body {
        padding: 30px 20px;
    }

    .btn-container {
        flex-direction: column;
    }
}