﻿


/*background------------------------------------*/


.backgroundrandom-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #001b3d; /* Restored Deep Blue Background */
    overflow: hidden;
    z-index: -2;
}

.backgroundrandom-shape {
    position: absolute;
    bottom: -200px;
    left: var(--x);
    width: var(--size);
    height: var(--size);
    background: var(--c);
    opacity: 0.5; /* Keeps them semi-transparent over the blue */
    filter: blur(2px); /* Softens the edges slightly */
    animation: backgroundrandom-float calc(10s + (var(--i) * 2s)) linear infinite;
    animation-delay: calc(var(--i) * -1.5s);
}

.backgroundrandom-circle {
    border-radius: 50%;
}

.backgroundrandom-rect {
    border-radius: 15%;
    transform: rotate(45deg);
}

.backgroundrandom-blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

@keyframes backgroundrandom-float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-125vh) rotate(360deg);
        opacity: 0;
    }
}

/* Mobile responsive sizing */
@media (max-width: 768px) {
    .backgroundrandom-shape {
        width: calc(var(--size) * 0.6);
        height: calc(var(--size) * 0.6);
    }
}












/*Register Form CSS Stylesheet------------------------------------------*/

:root {
    --rf-primary: #4f46e5;
    --rf-success: #22c55e;
    --rf-text-main: #1e293b;
    --rf-text-dim: #64748b;
    --rf-border: #e2e8f0;
}

/* Centering Logic - Transparent background */
.registerform-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    width: 100%;
    background: transparent;
    padding: 20px;
    box-sizing: border-box;
}

.registerform-card {
    width: 100%;
    max-width: 400px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--rf-border);
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.registerform-header {
    margin-bottom: 24px;
}

.registerform-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--rf-text-main);
    margin: 0;
    letter-spacing: -0.02em;
}

.registerform-subtitle {
    font-size: 14px;
    color: var(--rf-text-dim);
    margin-top: 4px;
}

.registerform-field {
    margin-bottom: 16px;
}

.registerform-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--rf-text-main);
}

.registerform-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.registerform-input {
    width: 100%;
    padding: 12px;
    border: 1.5px solid var(--rf-border);
    border-radius: 8px;
    font-size: 16px; /* Prevents auto-zoom on iOS */
    transition: all 0.2s;
    box-sizing: border-box;
}

    .registerform-input:focus {
        outline: none;
        border-color: var(--rf-primary);
        box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.05);
    }

/* THE CHECKMARKS */
.registerform-check-icon {
    position: absolute;
    right: 12px;
    width: 18px;
    height: 18px;
    display: none;
    pointer-events: none;
}

/* Shows checkmark when the browser considers the field 'valid' */
.registerform-input:valid:not(:placeholder-shown) + .registerform-check-icon {
    display: block;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2322c55e" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: center;
}

.registerform-error-msg {
    color: #ef4444;
    font-size: 12px;
    display: none;
    margin-top: 6px;
    font-weight: 500;
}

.registerform-submit-btn {
    width: 100%;
    background: var(--rf-primary);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

    .registerform-submit-btn:hover {
        background: #4338ca;
    }

.registerform-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--rf-text-dim);
}

.registerform-link {
    color: var(--rf-primary);
    text-decoration: none;
    font-weight: 700;
}
