.log-in {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.form {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.log-in .div {
    background-color: #ffffff;
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.log-in .overlap {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.log-in .overlap-group {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.log-in .rectangle {
    width: 158px;
    background-color: #01017a;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
}

.log-in .image {
    width: 142px;
    height: 152px;
    top: 41px;
    left: 8px;
    position: absolute;
    object-fit: cover;
}

.log-in .line {
    position: absolute;
    width: calc(100% - 258px);
    height: 1px;
    top: 215px;
    left: 257px;
    background-color: #e0e0e0;
    border: none;
}

.log-in .overlap-2 {
    position: absolute;
    width: 768px;
    max-width: 90%;
    height: 608px;
    top: 275px;
    left: 50%;
    transform: translateX(-50%);
}

.log-in .img {
    width: 568px;
    height: 608px;
    top: 0;
    left: 100px;
    position: absolute;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.log-in .frame {
    display: flex;
    flex-direction: column;
    width: 768px;
    align-items: flex-start;
    gap: 24px;
    position: absolute;
    left: 0;
    z-index: 1;
}

.log-in .text-wrapper {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-family: "Poppins", Helvetica;
    font-weight: 600;
    color: #01017a;
    font-size: 32px;
    text-align: center;
    letter-spacing: 0;
    line-height: 54px;
}

.log-in .frame-2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.log-in .frame-3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.log-in .frame-4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.log-in .component-wrapper {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.log-in .component {
    flex-direction: column;
    width: 100%;
    height: 96px;
    align-items: flex-start;
    display: flex;
    gap: 16px;
    position: relative;
}

.log-in .frame-5 {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    flex: 0 0 auto;
}

.log-in .input-label {
    font-family: "Poppins", Helvetica;
    color: #909090;
    font-size: 20px;
    line-height: 18px;
    position: relative;
    width: fit-content;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
}

.log-in .text-wrapper-2 {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Poppins", Helvetica;
    font-weight: 700;
    color: #f21b3f;
    font-size: 24px;
    letter-spacing: 0;
    line-height: 20px;
    white-space: nowrap;
}

.log-in .frame-6 {
    display: flex;
    height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 0px 16px;
    position: relative;
    align-self: stretch;
    width: 100%;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid;
    border-color: #919191;
    box-sizing: border-box;
}

.log-in .input-content,
.log-in .input-content-2 {
    font-family: "Poppins", Helvetica;
    font-style: italic;
    font-size: 16px;
    line-height: 20px;
    position: relative;
    width: 100%;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
}

.log-in .input-content {
    color: #909090;
}

.log-in .input-content-2 {
    color: #bdbdbd;
}

.log-in .group {
    position: relative;
    width: 100%;
    height: 84px;
}

.log-in .overlap-group-2 {
    position: relative;
    height: 84px;
}

.log-in .component-2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    top: 0;
    left: 0;
}

.log-in .input-label-2 {
    position: relative;
    width: fit-content;
    font-family: "Poppins", Helvetica;
    font-weight: 400;
    color: #919191;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 18px;
    white-space: nowrap;
}

.log-in .COCO-line-eye-slash {
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.log-in .COCO-line-eye-slash-2 {
    position: absolute;
    width: 24px;
    height: 24px;
    top: 48px;
    right: 16px;
    cursor: pointer;
}

.log-in .component-3 {
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    align-self: stretch;
    width: 100%;
    background-color: #01017a;
    border-radius: 6px;
    display: flex;
    gap: 16px;
    position: relative;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.log-in .component-3:hover {
    background-color: #00005a;
}

.log-in .button-text {
    position: relative;
    width: fit-content;
    font-family: "Poppins", Helvetica;
    font-weight: 700;
    color: #f9fcff;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 48px;
    white-space: nowrap;
}

.log-in .forgotten-password {
    position: relative;
    align-self: stretch;
    font-family: "Poppins", Helvetica;
    font-weight: 400;
    color: transparent;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 14px;
    text-align: center;
    margin-top: 8px;
}

.log-in .span {
    color: #919191;
}

.log-in .text-wrapper-3 {
    color: #000000;
}

.log-in .text-wrapper-4 {
    font-family: "Poppins", Helvetica;
    font-weight: 700;
    color: #01017a;
    cursor: pointer;
}

.log-in .text-wrapper-4:hover {
    text-decoration: underline;
}

.log-in .frame-7 {
    display: flex;
    flex-direction: column;
    width: 620px;
    max-width: 90%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.log-in .text-wrapper-5 {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-family: "Poppins", Helvetica;
    font-weight: 700;
    color: #01017a;
    font-size: 48px;
    text-align: center;
    letter-spacing: 0;
    line-height: 72px;
}

.log-in .text-wrapper-6 {
    position: relative;
    align-self: stretch;
    font-family: "Poppins", Helvetica;
    font-weight: 600;
    color: #01017a;
    font-size: 36px;
    text-align: center;
    letter-spacing: 0;
    line-height: 54px;
}

.log-in .rectangle-2 {
    width: 100px;
    background-color: rgba(250, 166, 44, 1); 
    position: absolute;
    height: 100%;
    top: 0;
    left: 158px; 
}

/* Responsive styles */
@media (max-width: 768px) {
    .log-in .div {
        overflow-x: hidden;
    }
    
    .log-in .rectangle {
        display: none;
    }
    
    .log-in .rectangle-2 {
        display: none;
    }
    
    .log-in .line {
        width: 100%;
        left: 0;
        top: 100px;
    }
    
    .log-in .image {
        width: 61px;
        height: 66px;
        top: 27px;
        left: 24px;
    }
    
    .log-in .frame-7 {
        width: 250px;
        top: 27px;
        left: calc(24px + 61px);
        transform: none;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
    }
    
    .log-in .text-wrapper-5 {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
    }
    
    .log-in .text-wrapper-6 {
        font-size: 12px;
        line-height: 18px;
        text-align: center;
    }
    
    .log-in .overlap-2 {
        width: 312px;
        max-width: calc(100% - 48px);
        height: auto;
        top: 190px; /* Increased from 150px to 190px for better spacing on mobile */
        left: 24px;
        transform: none;
    }
    
    .log-in .img {
        width: 312px;
        height: 333px;
        left: 0;
    }
    
    .log-in .frame {
        width: 100%;
        top: 80px;
        left: 0;
    }
    
    .log-in .text-wrapper {
        font-size: 20px;
        line-height: 30px;
    }
    
    .log-in .frame-2 {
        gap: 26px;
    }
    
    .log-in .frame-3 {
        gap: 36px;
    }
    
    .log-in .frame-4 {
        gap: 16px;
    }
    
    .log-in .input-label,
    .log-in .input-label-2 {
        font-size: 12px;
        line-height: 18px;
        color: #BEBEBE;
    }
    
    .log-in .text-wrapper-2 {
        font-size: 12px;
        line-height: 18px;
    }
    
    .log-in .input-content,
    .log-in .input-content-2 {
        font-size: 14px;
        line-height: 20px;
        color: #BEBEBE;
    }
    
    .log-in .component-3 {
        height: 48px;
        border-radius: 6px;
        padding: 0;
        margin-top: 20px;
    }
    
    .log-in .button-text {
        font-size: 16px;
        line-height: 48px;
    }
    
    .log-in .forgotten-password {
        font-size: 12px;
        line-height: 14px;
        margin-top: 10px;
    }
    
    .log-in .span {
        font-size: 12px;
        line-height: 14px;
        color: #919191;
    }
    
    .log-in .text-wrapper-4 {
        font-size: 12px;
        line-height: 14px;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .log-in .frame {
        top: 125px; /* Consistent with desktop */
        width: 90%;
        left: 5%;
    }
    
    .log-in .overlap-2 {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .log-in .overlap-2 {
        width: calc(100% - 48px);
    }
    
    .log-in .img {
        width: 312px;
        height: 333px;
        opacity: 0.1;
        top: 0;
        left: 0;
    }
    
    /* Fix for small screens */
    .log-in .frame-6 {
        padding: 0px 16px;
        border-radius: 8px;
        border-color: rgba(145, 145, 145, 0.5);
    }
    
    .log-in .input-content,
    .log-in .input-content-2 {
        font-size: 14px;
    }
    
    .log-in .frame-7 {
        left: 95px;
    }
}
