/* Register Page */
@media (min-width: 950px) {
    .register-page {
        display: flex;
        flex-direction: row;
        height: 100vh;
        background-color: #1e1e1e;
        color: #ffffff;
    }
}

@media (max-width: 949px) {
    .register-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        background-color: #1e1e1e;
        color: #ffffff;
    }
}

/* Left Section */
@media (max-width: 949px) {
    .left-section {
        flex: 1;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #1e1e1e;
        background-image: url("../images/Auth2.jpg");
        background-size: cover;
    }

    .left-text {
        font-size: 40px;
        text-align: center;
        padding: 20px;
    }

    .left-text #task, 
    .left-text #expense {
        text-decoration: underline;
        text-decoration-color: #646cff;
    }

    #place {
        font-weight: bold;
        color: #ffffff;
    }

    .image-section {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 950px) {
    .left-section {
        flex: 1;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #1e1e1e;
        background-image: url("../images/Auth2.jpg");
        background-size: cover;
    }

    .left-text {
        font-size: 58px;
        text-align: left;
        padding: 100px;
    }

    .left-text #task, 
    .left-text #expense {
        text-decoration: underline;
        text-decoration-color: #646cff;
    }

    #place {
        font-weight: bold;
        color: #ffffff;
    }

    .image-section {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Right Section */
.register-page .login-link {
    color: #646cff;
    text-decoration: none;
    font-weight: bold;
}
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #1e1e1e;
}

.right-section h2 {
    font-size: 32px;
    color: #ffffff;
}

.right-section .subheading {
    color: #535353;
    margin-bottom: 2rem;
}

/* Form Styles */
.right-section form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form div {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Label Styling */
.right-section label {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: block;
}

/* Input Styling */
.right-section input {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #2d2d2d;
    color: #ffffff;
    font-size: 14px;
}

.right-section input::placeholder {
    color: #888;
}

/* Error Message */
.right-section form .error {
    color: #ff4d4d !important;
    font-size: 14px;
}

/* Submit Button */
.right-section button {
    margin-top: 1rem;
    width: 100%;
    padding: 5px;
    border: none;
    border-radius: 5px;
    background-color: #646cff;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.right-section button:hover {
    background-color: #4e53f3;
}

.register-page .form-div label{

    text-align: left;
  
  }