body {
    margin: 0;
    padding: 0;
    font-family: "Instrument Sans", sans-serif;
    height: 100vh;
    display: flex;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

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

/* Left side - Login Form */
.login-section {
    flex: 1;
    max-width: 500px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.login-form {
    width: 100%;
    max-width: 350px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.login-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 25px;
    color: #333;
    text-align: left;
}

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

.form-input {
    width: 100%;
    padding: 15px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    background: white;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #007bff;
    background: white;
}

.form-input::placeholder {
    color: #6c757d;
    font-weight: 400;
}

.login-button {
    width: 100%;
    padding: 15px;
    background: #2c5530;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.login-button:hover {
    background: #1e3a21;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Right side - Background with containers */
.background-section {
    flex: 2;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd23f 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><defs><style>.container{fill:%23e74c3c;stroke:%23c0392b;stroke-width:2}.crane{fill:%23f39c12;stroke:%23d68910;stroke-width:2}.ground{fill:%233e4651}</style></defs><rect class="ground" width="800" height="200" y="400"/><rect class="container" x="50" y="200" width="80" height="120"/><rect class="container" x="140" y="180" width="80" height="140"/><rect class="container" x="230" y="160" width="80" height="160"/><rect class="container" x="320" y="140" width="80" height="180"/><rect class="container" x="410" y="120" width="80" height="200"/><rect class="container" x="500" y="100" width="80" height="220"/><rect class="container" x="590" y="80" width="80" height="240"/><rect class="container" x="680" y="60" width="80" height="260"/><polygon class="crane" points="100,50 120,50 300,200 280,220"/><circle class="crane" cx="110" cy="40" r="15"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.portal-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.portal-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.portal-subtitle {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.signup-prompt {
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    margin-top: 40px;
}

.signup-button {
    display: inline-block;
    padding: 12px 30px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
    font-size: 16px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.signup-button:hover {
    background: #218838;
    color: white;
}

.psw-logo {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: white;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive design */
@media (max-width: 1024px) {
    .login-section {
        padding: 50px 30px;
    }
    
    .portal-logo {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: 100vh;
        min-height: 100vh;
    }

    .login-section {
        max-width: none;
        padding: 40px 20px;
        flex: 0 0 auto;
        order: 1;
    }
    
    .login-form {
        max-width: 400px;
    }

    .background-section {
        flex: 1;
        min-height: 0;
        order: 2;
        display: flex;
        flex-direction: column;
    }

    .portal-logo {
        max-width: 200px;
    }
    
    .psw-logo {
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        height: 100vh;
        min-height: 100vh;
    }
    
    .login-section {
        padding: 30px 16px;
        flex: 0 0 auto;
    }
    
    .login-form {
        max-width: 100%;
    }
    
    .login-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .form-input {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .login-button {
        padding: 12px;
        font-size: 15px;
    }
    
    .background-section {
        flex: 1;
        min-height: 0;
        position: relative;
    }
    
    .portal-logo {
        max-width: 180px;
    }
    
    .psw-logo {
        bottom: 15px;
        right: 15px;
        font-size: 24px;
    }
}
