@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    /* Fallback for Actay */
    background-color: #000;
    background-image: url('assets/enexbk.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Dark overlay for the background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.0);
    /* Adjust opacity as needed */
    z-index: 0;
}

.page-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.register-card {
    width: 100%;
    max-width: 1000px;
    /* Increased max-width for 2 columns */
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.card-header {
    background-color: #00ac57;
    padding: 30px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.watermark-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.header-content {
    position: relative;
    /* Ensure content is above watermark */
    z-index: 1;
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 30px;
    max-width: 100%;
}

.logo {
    max-width: 350px;
    /* Adjusted size */
    height: auto;
    display: block;
}

.header-text {
    text-align: left;
    margin-top: auto;
}

.color-bright-green {
    color: #00ac57;

}

.header-text h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 700;
}

.header-text p {
    color: #fff;
    font-size: 1rem;
    margin: 0;
    max-width: 400px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-text {
        text-align: center;
    }
}

.card-body {
    background-color: #FFFFFF;
    padding: 40px;
}

.split-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* Stretch to equal height */
    gap: 20px;
}

.split-col {
    flex: 1;
    padding: 10px;
}

.divider {
    width: 1px;
    background-color: #eee;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.divider span {
    background: #fff;
    padding: 5px;
    color: #999;
    font-size: 0.8rem;
    position: absolute;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }

    .divider {
        width: 100%;
        height: 1px;
        margin: 20px 0;
    }
}


h2,
h3 {

    /*  color: #1C614A;
	Assuming the 'Know a member?' header might be green or dark text */
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-align: left;
}

p.sub-text {
    text-align: left;
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 30px;
}

p.sub-text a {
    color: #1C614A;
    text-decoration: none;
    font-weight: 600;
}

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

.form-control {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #000000;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333333;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-bottom-color: #1C614A;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #1C614A;
    color: #FFFFFF;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #144a38;
}

.btn-secondary {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: transparent;
    color: #1C614A;
    border: 1px solid #1C614A;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    margin-top: 15px;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
	color: #00ac57;
	text-decoration: none;
}

/* Placeholder styling */
::placeholder {
    color: #999;
}
