.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Left Side - Hero Section */
.hero-section {
    flex: 1;
    background: linear-gradient(135deg, #004d40 0%, #00897b 50%, #4db6ac 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    transform: rotate(15deg);
}

.logo {
    z-index: 1;
}

.logo img {
    height: 300px;
    width: auto;
    display: block;
}

.hero-content {
    z-index: 1;
    margin-top: auto;
    margin-bottom: auto;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 500px;
}

/* Right Side - Registration Form */
.register-section {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    height: 100vh;
    background: #f8f9fa;
    overflow-y: auto;
}

.register-container {
    width: 100%;
    max-width: 500px;
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    margin: auto 0;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.brand-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.brand-logo {
    height: 60px;
    width: auto;
    display: block;
}

.register-header h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.register-header p {
    color: #666;
    font-size: 15px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: #00897b;
    z-index: 1;
    transition: width 0.3s ease;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #999;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #00897b;
    border-color: #00897b;
    color: white;
}

.step.completed .step-number {
    background: #00897b;
    border-color: #00897b;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #999;
    text-align: center;
    font-weight: 500;
}

.step.active .step-label {
    color: #00897b;
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-title {
    font-size: 20px;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: left;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.form-group label .required {
    color: #d32f2f;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00897b;
    box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.1);
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
}

.password-strength {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

.strength-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
    border-radius: 2px;
}

.strength-weak { width: 33%; background: #d32f2f; }
.strength-medium { width: 66%; background: #ff9800; }
.strength-strong { width: 100%; background: #4caf50; }

.terms-group {
    margin-bottom: 25px;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00897b;
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.terms-text a {
    color: #00897b;
    text-decoration: none;
    font-weight: 500;
}

.terms-text a:hover {
    text-decoration: underline;
}

.error-message {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error select {
    border-color: #d32f2f;
}

.form-group.error .error-message {
    display: block;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prev {
    background: #e0e0e0;
    color: #666;
    flex: 1;
}

.btn-prev:hover {
    background: #d0d0d0;
}

.btn-next,
.btn-submit {
    background: #00897b;
    color: white;
    flex: 2;
}

.btn-next:hover,
.btn-submit:hover {
    background: #00796b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 137, 123, 0.3);
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.login-link {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 14px;
}

.login-link a {
    color: #00897b;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Container to manage the layout */
.profile-uploader-container {
    display: flex;
    justify-content: center; /* Center the image in the form */
    margin-bottom: 10px;
}

/* The Placeholder/Preview Element */
.profile-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: #e0e0e0; /* Light gray background */
    border: 2px dashed #999; /* Dashed border to indicate drop area */
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden; /* Important for containing the image */
    position: relative;
    
    /* UNCOMMENT ONE of the following for shape: */
    border-radius: 50%; /* CIRCULAR SHAPE */
    /* border-radius: 12px; /* SQUARE SHAPE with rounded corners */
}

.profile-placeholder:hover {
    background: #d4d4d4;
    border-color: #00897b;
}

/* Style for the SVG icon */
.profile-placeholder svg {
    margin-bottom: 5px;
    stroke-width: 1.5;
    z-index: 1;
}

/* Style for the Upload Text */
.profile-placeholder .upload-text {
    z-index: 1;
}

/* Style for the actual uploaded image */
.profile-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area without distortion */
    z-index: 0;
}

/* Hide the remove button by default */
.remove-image-btn {
    /* Center the button */
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Appearance changes for better visibility */
    width: 40px; /* Slightly larger */
    height: 40px; 
    border-radius: 50%;
    
    /* Use a semi-transparent dark background for contrast */
    background: rgba(0, 0, 0, 0.7); 
    color: white;
    border: 2px solid white; /* White border to highlight it */
    
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s, background 0.2s;
    z-index: 10; /* Ensure it's above the image */
    pointer-events: none;
}

/* Ensure the X icon inside the button is visible */
.remove-image-btn svg {
    stroke: white; 
    stroke-width: 2.5; 
    width: 20px;
    height: 20px;
}

/* Show the button only when hovering over the placeholder that has an image */
.profile-placeholder.has-image:hover .remove-image-btn {
    opacity: 1;
    pointer-events: auto;
}

/* Hover effect on the button itself */
.remove-image-btn:hover {
    background: rgba(220, 53, 69, 0.9); /* Change to red on hover/click intent */
}

/* Hide the placeholder icon/text when an image is present */
.profile-placeholder.has-image svg:not(.remove-image-btn svg),
.profile-placeholder.has-image .upload-text {
    display: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        flex-direction: column;
    }

    .hero-section {
        min-height: 300px;
        padding: 40px 30px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .register-section {
        padding: 30px 20px;
        align-items: flex-start;
        padding-top: 30px;
    }

    .register-container {
        padding: 40px 30px;
        margin: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .step-label {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 100px;
    }

    .register-section {
        padding: 20px;
    }

    .register-container {
        padding: 30px 20px;
    }

    .register-header h2 {
        font-size: 28px;
    }

    .register-header {
        margin-bottom: 30px;
    }

    .step-label {
        display: none;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}



