/*** LOGIN & REGISTER ***/

/* Auth Switch Wrapper */
.auth-switch-wrapper {
    width: 100%;
    max-width: 500px;
}

.auth-switch {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 0.5rem;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

/* Animated Background Slider */
.auth-switch::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: calc(50% - 0.5rem);
    height: calc(100% - 1rem);
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: transform 0.3s ease;
    z-index: 0;
}

/* Move background to right when Register is active */
.auth-switch.register-active::before {
    transform: translateX(100%);
}

.auth-switch .nav {
    position: relative;
    z-index: 1;
}

.auth-switch .nav-link {
    color: var(--color-black);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Link mit auth-active Klasse (hat den Gradient-Hintergrund) */
.auth-switch .nav-link.auth-active {
    color: white;
}

/* Link ohne auth-active Klasse bleibt schwarz */
.auth-switch .nav-link:not(.auth-active) {
    color: var(--color-black);
}

/* Hover-Effekt für besseres visuelles Feedback */
.auth-switch .nav-link:not(.auth-active):hover {
    background: rgba(84, 102, 240, 0.05);
}

/* Bootstrap's active Klasse wird von auth-active überschrieben */
.auth-switch .nav-link.active {
    background: transparent;
}

/* Container (wie Contact/Pricing) */
.subscribe-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
    border-radius: 10px;
}

.container_tahoe {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 10px;
}

.pricing-card {
    background: rgba(0, 0, 0, 0.05); 
    border-radius: 30px;
    padding: 2rem;
    color: var(--color-black);
    border: 1px solid var(--primary-color);
}

/* Form Controls */
.form-control {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-black);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus{
    border-color: var(--primary-color);
    color: var(--color-black);
} 

.input-group:focus-within .input-group-text{
    border-color: var(--primary-color);
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.input-group-text {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-right: none;
    transition: all 0.3s ease;
}

.form-control.border-start-0 {
    border-left: none;
}

.form-label {
    color: var(--color-black);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Gradient Button */
.btn-gradient-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: transform 0.3s ease;
    color: white;
}

.btn-gradient-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(84, 102, 240, 0.4);
    color: white;
}

/* TOS Checkbox */
.checkbox-wrapper-43 input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.checkbox-wrapper-43 label {
    display: inline-block;
}

.checkbox-wrapper-43 .check {
    cursor: pointer;
    position: relative;
    margin: auto;
    width: 18px;
    height: 18px;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-43 .check:before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(84, 102, 240, 0.1);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkbox-wrapper-43 .check svg {
    position: relative;
    z-index: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #0d6efd;
    stroke-width: 1.5;
    transform: translate3d(0, 0, 0);
    transition: all 0.2s ease;
}

.checkbox-wrapper-43 .check svg path {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
}

.checkbox-wrapper-43 .check svg polyline {
    stroke-dasharray: 22;
    stroke-dashoffset: 66;
}

.checkbox-wrapper-43 .check:hover:before {
    opacity: 1;
}

.checkbox-wrapper-43 .check:hover svg {
    stroke: var(--primary-color);
}

.checkbox-wrapper-43 input[type="checkbox"]:checked + .check svg {
    stroke: var(--primary-color) !important;
}

.checkbox-wrapper-43 input[type="checkbox"]:checked + .check svg path {
    stroke-dashoffset: 60;
    transition: all 0.3s linear;
}

.checkbox-wrapper-43 input[type="checkbox"]:checked + .check svg polyline {
    stroke-dashoffset: 42;
    transition: all 0.2s linear;
    transition-delay: 0.15s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-switch-wrapper {
        padding: 0 1rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .auth-switch .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }
}

/*** LOGIN & REGISTER END ***/