
/* --- Main Layout Container --- */
.login-container {
    display: flex;
    width: 100%;
    max-width: auto;
    height: 650px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Left Side: Hero Section --- */
.hero-section {
    flex: 2.1;
    position: relative;
    /* Replace with your specific background player image path */
    background: url('images/background.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    color: #ffffff;
}

/* Dark Overlay to make text readable */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-box {
    background: #28a745;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 1.2rem;
}
.logo-text {
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

/* Main Heading Typography */
.hero-main-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #ffffff;
}
.hero-main-text .highlight {
    color: #39b54a; /* Dynamic Green color from image */
}
.hero-main-text p {
    font-size: 0.95rem;
    color: #cccccc;
    max-width: 320px;
    line-height: 1.5;
    margin-bottom: 15px;
}
.green-line {
    width: 40px;
    height: 3px;
    background-color: #39b54a;
}

/* Features Grid */
.features-grid {
    display: flex;
    justify-content: flex-start;
    gap: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.feature-item i {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0.8;
}
.feature-item h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}
.feature-item p {
    font-size: 0.7rem;
    color: #aaaaaa;
}

/* --- Right Side: Form Section --- */
.form-section {
    flex: 0.9;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}
/* The Angled Split Effect seen in the image */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: -35px;
    width: 70px;
    height: 100%;
    background: #ffffff;
    transform: skewX(-6deg);
    z-index: 1;
}
.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -36px;
    transform: skewX(-6deg);
    z-index: 1;
    width: 20px;
    height: 100%;
    background: #48c91d;
    clip-path: polygon(0 0, 100% 0, 0% 100%, 0 100%);
}
.form-wrapper {
    width: 100%;
    max-width: 360px;
    position: relative;
    z-index: 2;
}

.form-section h2 {
    font-size: 1.8rem;
    color: #111111;
    font-weight: 700;
    margin-bottom: 5px;
}
.form-section .subtitle {
    font-size: 0.9rem;
    color: #777777;
    margin-bottom: 30px;
}

/* Input Fields */
.input-group {
    position: relative;
    margin-bottom: 20px;
}
.input-group input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}
.input-group input:focus {
    border-color: #39b54a;
    box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.1);
}
.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #39b54a;
    font-size: 1.1rem;
}
.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaaaaa;
    cursor: pointer;
}

/* Remember Me & Forgot Password Layout */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 25px;
}
.forgot-pass {
    color: #39b54a;
    text-decoration: none;
    font-weight: 600;
}
.forgot-pass:hover {
    text-decoration: underline;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    color: #555555;
    user-select: none;
}
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
}
.checkbox-container input:checked ~ .checkmark {
    background-color: #39b54a;
    border-color: #39b54a;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}
.checkbox-container .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Form Buttons */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #39b54a, #238531);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
}
.btn-submit:hover {
    background: linear-gradient(90deg, #238531, #1b6625);
}

/* Divider Line */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}
.divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}
.divider span {
    background-color: #ffffff;
    padding: 0 15px;
    color: #999999;
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Google Button */
.btn-google {
    width: 100%;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333333;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.btn-google:hover {
    background-color: #f9f9f9;
}
.btn-google img {
    width: auto;
    height: 35px;
}

/* Bottom Registration Text */
.signup-text {
    text-align: center;
    margin-top: 30px;
    font-size: 0.85rem;
    color: #666666;
}
.signup-text a {
    color: #39b54a;
    text-decoration: none;
    font-weight: 600;
}
.signup-text a:hover {
    text-decoration: underline;
}

/* --- Responsive Layout Rules --- */
@media (max-width: 900px) {
    .login-container {
        height: auto;
        max-width: 500px;
        flex-direction: column;
    }
    .hero-section {
        display: none; /* Soft hide left banner on mobile view for optimal interface layout */
    }
    .form-section {
        padding: 40px 20px;
    }
    .form-section::before {
        display: none; /* Remove angled split on mobile stacking layout */
    }
}

.form-controls {
    color: #000 !important;
}