/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100dvh; /* Dynamic viewport height - excludes mobile browser UI */
    /* height: 100vh; */
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

.container {
    position: relative;
    width: 100%;
    height: 100dvh; /* Dynamic viewport height - excludes mobile browser UI */
    background: #000000;
}

/* Background Image */
.diagonal-split {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,white calc(50% - 97px), black calc(50% - 97px));
    z-index: 1;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100dvh; /* Dynamic viewport height - excludes mobile browser UI */
   /* height: 100vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Center Part Image */
.center-part {
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 138px));
    z-index: 1;
}

.center-part-image {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}

/* Access Section */
.access-section {
    border-radius: 12px;
    min-width: 280px;
    position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, calc(-50% + 116px));
    z-index: 2;
}

.access-title {
    color: rgb(230, 230, 230);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group {
    position: relative;
    height: 40px;
}

.input-group input {
    width: 100%;
    height: 40px;
    padding: 0.9rem 1rem;
    border: none;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    font-style: italic;
}

.input-group input:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.signin-btn {
    background: #23004e;
    color: white;
    width: 180px;
    height: 40px;    
    border: 1px solid white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1px auto 0 auto;
    display: block;
    box-shadow: none;
}

.signin-btn:hover {
    background: #3a0066;
    transform: translateY(-1px);
}

.forgot-password {
    color: white;
    text-decoration: underline;
    font-size: 11px;
    text-align: center;
    margin-top: 1px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #C084FC;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 300px;
    transform: translateX(-50%);
    z-index: 3;
}

.contact-info {
    color: white;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 6px;
}

.contact-info p {
    font-size: 11px;
    margin-bottom: 6px;
}

/* Responsive Design */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    /* .main-content {
        height: 100dvh; 
        height: 100vh;
        padding-top: 25vh;
    } */
   
    .center-part-image {
        width: auto;
        height: auto;
        max-width: none;
        max-height: none;
    }
}

@media (max-width: 768px) {
    /* .main-content {
        height: 100dvh;
        padding: 51vh 0 0 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    } */
    
    .footer {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 300px;
        z-index: 3;
        background: rgba(0, 0, 0, 0.8);
        padding: 10px 0;
    }
    .forgot-password {
        font-size: 10px;
    }
    .input-group input {
        height: 42px;
    }
    
    .center-part-image {
        width: auto;
        height: auto;
        max-width: none;
        max-height: none;
    }
}
   