* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Left Section */
.left-section {
    flex: 1;
    background: #1a1f2e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 100vh;
    overflow-y: auto;
}

.login-content {
    width: 100%;
    max-width: 400px;
    margin: auto 0;
}

.logo {
    margin-bottom: 40px;
}

.logo-icon {
    width: 60px;
    height: 60px;
}

h1 {
    color: white;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subtitle {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 40px;
}

.brand {
    color: #3b82f6;
}

.form-group {
    margin-bottom: 20px;
}

label {
    color: #94a3b8;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    overflow: hidden;
}

.input-icon {
    padding: 0 15px;
    font-size: 18px;
}

input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px 12px 0;
    color: white;
    font-size: 15px;
    outline: none;
}

input::placeholder {
    color: #64748b;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-container input {
    width: auto;
    margin-right: 8px;
}

.forgot-password {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
}

.sign-in-btn {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.sign-in-btn:hover {
    background: #2563eb;
}

.demo-credentials {
    margin-top: 40px;
}

.demo-title {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 12px;
}

.credentials-box {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 16px;
}

.credential-icon {
    font-size: 24px;
}

.credential-content h4 {
    color: white;
    font-size: 14px;
    margin-bottom: 8px;
}

.credential-row {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 4px;
}

.credential-row code {
    background: #1e293b;
    padding: 2px 8px;
    border-radius: 4px;
    color: #94a3b8;
    margin-left: 8px;
}

.footer {
    margin-top: 40px;
    text-align: center;
    color: #475569;
    font-size: 12px;
    line-height: 1.6;
}

.footer a {
    color: #3b82f6;
    text-decoration: none;
}

/* Right Section */
.right-section {
    flex: 1;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    min-height: 100vh;
}

.right-section::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rocket-icon {
    font-size: 48px;
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.right-section h2 {
    color: white;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    text-align: center;
    margin-bottom: 48px;
    max-width: 500px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
    width: 100%;
    max-width: 500px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    font-size: 32px;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-content h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat h4 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Scrollbar styling */
.left-section::-webkit-scrollbar,
.right-section::-webkit-scrollbar {
    width: 8px;
}

.left-section::-webkit-scrollbar-track {
    background: #0f172a;
}

.left-section::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

.left-section::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.right-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.right-section::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.right-section::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
    
    .right-section {
        display: none;
    }
    
    .left-section {
        flex: 1;
    }
}

/* Handle zoom and prevent overflow */
@media (min-resolution: 120dpi) {
    .container {
        min-width: 100vw;
    }
}


/* Company Dropdown Styles */
.company-select {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 30px 12px 0;
    color: white;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.company-select option {
    background: #0f172a;
    color: white;
    padding: 10px;
}

.company-select::-ms-expand {
    display: none;
}

.dropdown-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 12px;
    pointer-events: none;
}

/* Update the input-wrapper to position dropdown icon correctly */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.input-wrapper:hover {
    border-color: #475569;
}

.input-wrapper:focus-within {
    border-color: #3b82f6;
}

/* Mobile responsive for dropdown */
@media (max-width: 480px) {
    .company-select {
        padding: 10px 25px 10px 0;
        font-size: 14px;
    }
    
    .dropdown-icon {
        right: 10px;
        font-size: 10px;
    }
}


/* Logo Styles */
.company-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.right-logo {
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ifive-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    /*filter: brightness(0) invert(1);*/
}

.footer-logo {
    height: 16px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    /*filter: brightness(0) invert(1) opacity(0.7);*/
}

.footer a {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    text-decoration: none;
}

/* Update logo container */
.logo {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

/* Remove the old logo-icon styles as we're using actual images now */
.logo-icon {
    display: none;
}

/* Responsive adjustments for logos */
@media (max-width: 768px) {
    .company-logo {
        width: 100px;
    }
    
    .right-logo {
        padding: 12px 20px;
        margin-bottom: 24px;
    }
    
    .ifive-logo {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .company-logo {
        width: 80px;
        padding: 8px;
    }
    
    .logo {
        margin-bottom: 30px;
    }
    
    .right-logo {
        padding: 10px 16px;
        margin-bottom: 20px;
    }
    
    .ifive-logo {
        height: 35px;
    }
    
    .footer-logo {
        height: 14px;
    }
}

@media (max-width: 360px) {
    .company-logo {
        width: 70px;
    }
    
    .ifive-logo {
        height: 30px;
    }
}


