﻿/* Register.css */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, #e6f0ff, #fafdff);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.register-card {
    width: 90%;
    max-width: 1150px;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    animation: fadeInUp 0.8s ease forwards;
}

.register-image {
    flex: 1;
    background: url('/assets/img/ehr-1476525_1920.png') no-repeat center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: rgba(255,255,255,0.05);
    min-height: 400px;
}

.register-form {
    flex: 1;
    padding: 3rem;
    backdrop-filter: blur(5px);
}

    .register-form h2 {
        color: #007bff;
        margin-bottom: 2rem;
        text-align: center;
    }

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #222;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select,
input[type="tel"],
input[type="file"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    transition: background 0.3s ease;
    cursor: pointer;
}

    .btn:hover {
        background: #0056b3;
    }

@media (max-width: 768px) {
    .register-card {
        flex-direction: column;
        max-width: 95%;
    }

    .register-image {
        min-height: 200px;
        background-size: cover;
    }

    .register-form {
        padding: 2rem;
    }
}

/* Wizard steps hide/show */
.step {
    display: none;
}

    .step.active {
        display: block;
    }

/* Move it just under the page title */
.wizard-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0 2rem;
}

/* Make all circles the same size, spaced apart */
.step-indicator {
    width: 32px;
    height: 32px;
    margin: 0 8px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
}

.step-indicator + .step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px; /* half of margin */
    width: 16px; /* equal to margin */
    height: 4px;
    background: #e0e0e0;
    transform: translateY(-50%);
}

.step-indicator.active {
    background: #007bff;
}

.step-indicator.completed {
    background: #28a745;
}

/* Wizard nav buttons size to content */
.wizard-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.wizard-nav .btn {
    width: auto; /* cancel the .btn 100% width */
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    flex: none;
}
.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #555;
}

.form-footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
    transition: color 0.2s ease;
}

.form-footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}