@font-face {
    font-family: 'PT Sans';
    src: url('../fonts/PTSans-Bold.eot');
    src: url('../fonts/PTSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PTSans-Bold.woff2') format('woff2'),
        url('../fonts/PTSans-Bold.woff') format('woff'),
        url('../fonts/PTSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Sans';
    src: url('../fonts/PTSans-BoldItalic.eot');
    src: url('../fonts/PTSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PTSans-BoldItalic.woff2') format('woff2'),
        url('../fonts/PTSans-BoldItalic.woff') format('woff'),
        url('../fonts/PTSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'PT Sans';
    src: url('../fonts/PTSans-Italic.eot');
    src: url('../fonts/PTSans-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PTSans-Italic.woff2') format('woff2'),
        url('../fonts/PTSans-Italic.woff') format('woff'),
        url('../fonts/PTSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'PT Sans';
    src: url('../fonts/PTSans-Regular.eot');
    src: url('../fonts/PTSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PTSans-Regular.woff2') format('woff2'),
        url('../fonts/PTSans-Regular.woff') format('woff'),
        url('../fonts/PTSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
  font-family: "PT Sans", serif;
  background-color: #f5f7fa;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* Container */
.container {
  display: flex;
  max-width: 1150px;
  width: 90%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-height: 560px; /* Ensures a minimum height */
}

.left-section {
  flex: 1;
  background: url('../images/login.png') center center / cover no-repeat;
  color: white;
  padding: 40px 50px;
  display: flex; /* Enable flexbox */
  flex-direction: column; /* Arrange items in a column */
  justify-content: center; /* Center content vertically */
  align-items: flex-start; /* Align content horizontally to the right */
  text-align: left; /* Ensure text aligns to the right */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* Improves text readability */
}
.left-section h1 {
  font-size: 2rem;

	    font-weight: 400;
}

.left-section h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 35px;
    font-weight: 400;
}		

.left-section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.logo {
  margin-top: auto;
  text-align: left; /* Aligns logo to the right */
width:100%;	
}

.logo img {
  height: 40px;
}
.input-wrapper .icon img{margin-bottom:0px}

.logo p {
  font-size: 1.2rem;
  font-weight: bold;
}
	  
.right-section .login-box img{margin:0px auto;}	  

/* Right Section */
.right-section {
  flex: 1;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

/* Right Section - Login Box */
.login-box {
  width: 100%;
  max-width: 350px;
  text-align: center;
  min-height: 300px; /* Minimum height for the login form */
  display: flex; /* Flexbox for centering content */
  flex-direction: column; /* Align children vertically */
  justify-content: center; /* Center content vertically */
}

.login-box img {
  width: 80px; /* Resize the logo in the login box */
  margin-bottom: 20px; /* Add spacing below the logo */
}

.login-box h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Input Group Styling */
.input-group {
  margin-bottom: 1rem;
  text-align: left;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input {
  width: 100%;
  padding: 10px 10px 10px 40px; /* Padding for icon */
  border: 1px solid #5a3ea8;
  border-radius: 5px;
  font-size: 1rem;
}

.input-wrapper .icon {
  position: absolute;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.input-wrapper .icon img {
  width: 20px;
  height: 20px;
  opacity: 0.7; /* Subtle opacity */
}

.input-wrapper input:focus {
  border-color: #5a3ea8;
  outline: none;
}

.input-wrapper .icon img:hover {
  opacity: 1; /* Icon highlight on hover */
}

input::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Options Section */
.options {
  display: flex;
  justify-content: flex-end; /* Align 'Forgot Password?' to the right */
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.options .forgot-password {
  text-decoration: none;
  color: #19438e;
  font-weight: 500;
}

.options .forgot-password:hover {
  text-decoration: underline;
}

/* Login Button */
.login-button {
  width: 50%;
  padding: 10px;
  font-size: 1rem;
  color: white;
  background: linear-gradient(to right, #5a3ea8, #ff4786);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-button:hover {
  background: linear-gradient(to right, #7b5adf, #ff5e9f);
}

.login-box p {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: #666;
}









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

  .left-section {
    background-position: top; /* Adjust position for smaller screens */
    padding: 20px; /* Add more compact padding */
  }

  .right-section {
    padding: 20px;
  }

  .login-box img {
    width: 60px; /* Resize logo for smaller screens */
    margin-bottom: 15px; /* Reduce spacing for smaller screens */
  }

  .login-button {
    width: 100%; /* Full-width button on smaller screens */
  }
}
		
@media (min-width: 1920px) {
  .container {
    min-height: 700px; /* For larger 1080p or 4K TVs */
  }
}		

