/* Registration Page Styles - Matches Login Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center vertically */
    padding: 20px;
    position: relative;
    overflow-y: auto;
    /* Allow scrolling */
    overflow-x: hidden;
}

/* Floating background elements */
body::before,
body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
    /* Let clicks pass through */
}

body::before {
    width: 300px;
    height: 300px;
    background: white;
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

body::after {
    width: 200px;
    height: 200px;
    background: white;
    bottom: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    padding: 40px;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.6s ease-out;
    margin: 40px auto;
    /* Ensure margin for scrolling */
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #4CAF50;
    /* Green Icon */
}

.login-header h1 {
    font-size: 24px;
    color: #333;
    margin: 0 0 10px 0;
}

.login-header p {
    color: #666;
    margin: 0;
}

/* Steps */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #999;
    font-size: 14px;
}

.step.active,
.step.completed {
    border-color: #4CAF50;
    background: #4CAF50;
    color: white;
}

/* Forms */
.form-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-section.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    /* Match login inputs */
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

.btn,
button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn:hover,
button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4);
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    color: #4CAF50;
}

/* File Upload */
.file-upload {
    border: 2px dashed #e0e0e0;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.file-upload:hover {
    border-color: #4CAF50;
    background: #f1f8e9;
}

.preview-image {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;
    display: none;
}