/* Reset and Base */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Page Layout */
.page-content {
    height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-wrapper, 
.content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login Form */
.login-form {
    width: 100%;
    max-width: 400px; /* Control card width */
}

div.card.tran_card {
    background-color: rgba(249, 249, 249, 0.27) !important;
    border: 1px solid #010101 !important;
    color: #fff;
}

/* Background Video Cover */
.login-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #111;
    overflow: hidden;
    padding: 20px;
}

/* Laptop Frame */
.laptop {
    position: relative;
    width: 50%;
    max-width: 500px;
    margin-right: 2%;
}

/* Laptop Screen */
.laptop-screen {
    position: relative;
    width: 100%;
    padding-top: 60%; /* 16:9 ratio */
    background: #000;
    border: 10px solid #333;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Video inside screen */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Overlay on video */
.video-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    color: #fff;
    border-radius: 6px;
    text-align: center;
}

.video-text h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.video-text p {
    font-size: 1rem;
}

/* Laptop Base (Keyboard area) */
.laptop-base {
    width: 100%;
    height: 25px;
    background: #333;
    border-radius: 0 0 8px 8px;
    box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.3);
}

/* Login Form Section */
.content-wrapper {
    width: 50%;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 8px;
    color: #fff;
}

/* Responsive for Mobile */
@media (max-width: 991px) {
    .laptop {
        display: none;
    }

    .content-wrapper {
        width: 100%;
        padding: 1rem;
    }
}

div.card.tran_card {
    background-color: rgba(249, 249, 249, 0.27) !important;
    border: 1px solid #010101 !important;
}

.btn-primary {
    color: #fff;
    background-color: #2F5249 !important;
}

.navbar-dark {
    color: rgba(255,255,255,.9);
    background-color: #2F5249 !important;
    border-bottom-color: rgba(255,255,255,.1)
}

.card-backgroud{
    background-color: #97B067 !important;
}