/* Frontend/public/styles/registration.css */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #6b46ff 0%, #a78bfa 100%);
    min-height: 100vh;
    padding: 24px 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    max-width: 520px;
    width: 100%;
    padding: 36px 28px;
}

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

.header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6b46ff;
    margin-bottom: 8px;
}

.header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.subtitle {
    color: #64748b;
    font-size: 0.95rem;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

.required {
    color: #ef4444;
    margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9fafb;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
    background: white;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m2 4 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 36px;
}

#sectorOther {
    margin-top: 10px;
    display: none;
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(90deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.28);
    margin-top: 12px;
    position: relative;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.38);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-text {
    /* just in case you want to style text separately */
}

.loader {
    border: 3px solid rgba(255,255,255,0.35);
    border-top: 3px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success state */
#successMessage {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.success-icon {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 16px;
}

#successMessage h2 {
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 1.6rem;
}

#successMessage p {
    color: #64748b;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 28px 20px;
    }
    
    .header h1 {
        font-size: 1.6rem;
    }
    
    .submit-btn {
        padding: 13px;
        font-size: 1rem;
    }
}
/* Header Styling */
.header {
    text-align: center;
    padding: 20px 10px;
    background: transparent;
}


/* Logo Image */
.event-logo {
    width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    background: transparent;   /* Remove background */
}


/* Title Text */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #002147;
    margin-bottom: 5px;
}

/* Subtitle */
.subtitle {
    font-size: 14px;
    color: #555;
}
