/* REGISTRATION PAGE - BEAUTIFUL DESIGN */
.register-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5c61f2 0%, #764ba2 25%, #c89d31 50%, #4facfe 75%, #5c61f2 100%) !important;
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#ripple-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.register-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90% 30%, rgba(255, 255, 255, 0.12) 2.5px, transparent 2.5px),
        radial-gradient(circle at 40% 20%, rgba(200, 157, 49, 0.2) 3px, transparent 3px);
    background-size: 300px 300px, 200px 200px, 250px 250px, 180px 180px;
    animation: particleFloat 25s linear infinite;
    opacity: 0.4;
    pointer-events: none;
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-120px) rotate(360deg); }
}

.register-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 650px;
    margin: 40px 20px;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.logo-container img {
    max-width: 180px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05) rotate(2deg);
}

.register-card {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border-radius: 30px !important;
    padding: 50px 40px !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
    animation: fadeInUp 0.8s ease;
    position: relative;
    overflow: hidden;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.welcome-text {
    margin-bottom: 40px !important;
}

.gradient-text {
    background: linear-gradient(135deg, #5c61f2 0%, #c89d31 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900 !important;
    font-size: 38px !important;
    margin-bottom: 15px !important;
    animation: gradientShift 5s ease infinite;
    background-size: 200% auto;
    letter-spacing: -0.5px;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.animated-subtitle {
    color: #6c757d !important;
    font-size: 16px !important;
    min-height: 24px;
    margin-bottom: 10px !important;
}

.typing-text {
    font-weight: 600 !important;
    color: #5c61f2 !important;
}

.typing-text::after {
    content: '|';
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.register-card .form-control {
    border: 2px solid rgba(92, 97, 242, 0.2) !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.register-card .form-control:hover {
    border-color: rgba(92, 97, 242, 0.4) !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

.register-card .form-control:focus {
    border-color: #5c61f2 !important;
    
    box-shadow: 0 0 0 4px rgba(92, 97, 242, 0.1), 0 8px 16px rgba(92, 97, 242, 0.15) !important;
    transform: translateY(-2px);
}

.register-card .btn-primary {
    background: linear-gradient(135deg, #5c61f2 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 30px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(92, 97, 242, 0.4); }
    50% { box-shadow: 0 10px 40px rgba(92, 97, 242, 0.7), 0 0 20px rgba(92, 97, 242, 0.5); }
}

.register-card .btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(92, 97, 242, 0.4) !important;
    animation: none;
}

.social-divider {
    display: flex;
    align-items: center;
    margin: 30px 0 20px !important;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #e9ecef;
}

.social-divider h6 {
    padding: 0 15px;
    color: #6c757d;
    font-weight: 600 !important;
    margin: 0 !important;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 20px;
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0077B5, #005885);
    color: white;
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    color: white;
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877F2, #0d65d9);
    color: white;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
    color: white;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.signin-link {
    text-align: center;
    margin-top: 25px !important;
    color: #6c757d;
}

.signin-link a {
    color: #5c61f2 !important;
    font-weight: 700 !important;
    text-decoration: none;
}

.signin-link a:hover {
    color: #764ba2 !important;
    text-decoration: underline;
}

@keyframes inputGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(92, 97, 242, 0.3); }
    50% { box-shadow: 0 0 25px rgba(92, 97, 242, 0.6); }
}

.input-glow {
    animation: inputGlow 2s ease infinite;
}

html {
    background-color: #5c61f26b !important;
}

.login-card {
    background-color: transparent !important;
}

.login-card .login-main {
    width: 500px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    background-color: #fff;
}

/* Service category optgroup styling */
select.form-control optgroup,
select.form-select optgroup {
    font-size: 1.05em;
    font-weight: 700;
    color: #333;
    padding: 6px 0 2px;
}

select.form-control optgroup option,
select.form-select optgroup option {
    font-size: 0.93em;
    font-weight: 400;
    color: #555;
    padding-left: 12px;
}
