/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; overflow-x: hidden; }

/* Video Background (Main Page) */
.video_box { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
.video_box video { min-width: 100%; min-height: 100%; object-fit: cover; }

/* Main Container */
.main__container { position: relative; width: 100%; z-index: 1; }
.header__con { background-color: #fff; padding: 12px 100px; text-align: center; }
.header__con img { max-height: 50px; }

.box__body { margin: 40px 0; text-align: center; color: #fff; }
.box__img img { width: 90px; margin: 10px 0; }

.welcome h1 { font-weight: 400; font-size: 42px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.p-1 { font-size: 24px; font-weight: 300; margin: 10px 0 15px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.p-2 { font-size: 18px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

/* Login Buttons Area */
.box__data { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; margin: 50px 0; }
.box__data-info { 
    padding: 15px 30px; border-radius: 5px; cursor: pointer; 
    display: flex; flex-direction: column; align-items: center; width: 160px;
    transition: transform 0.2s;
}
.box__data-info:hover { transform: translateY(-5px); }

.box-1 { background-color: #FF3C00; color: #fff; } /* Office 365 */
.box-2 { background-color: #0073C8; color: #fff; } /* Outlook */
.box-3 { background-color: #0B5BD3; color: #fff; } /* Other/Yahoo */
.box-4 { background-color: #fff; color: #000; } /* AOL */

.box__data-info img { height: 35px; width: auto; margin-bottom: 10px; }
.text__data p { margin: 0; font-size: 14px; }
.text__data h3 { margin: 0; font-size: 18px; font-weight: 600; }

/* Footer */
.powered_by { text-align: center; padding: 20px; margin-top: 50px; background-color: rgba(0,0,0,0.7); }
.powered_by p { color: #fff; font-size: 12px; margin: 0; }

/* Login Form Pages (Centered Card) */
.login-page-body {
    background-color: rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; justify-content: center;
    height: 100vh;
    background-image: url('https://cdn.glitch.global/8d5109a6-1873-4f95-9253-bd838b3669c7/bg-blur.jpg'); /* Fallback or blurred bg */
    background-size: cover;
}

.login-card {
    background-color: #fff;
    width: 100%; max-width: 400px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
}

.close-btn {
    position: absolute; top: 15px; right: 20px;
    font-size: 24px; cursor: pointer; color: #666;
}

.login-logo { text-align: center; margin-bottom: 20px; }
.login-logo img { max-height: 60px; }

.login-title { text-align: center; margin-bottom: 20px; color: #333; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; color: #333; margin-bottom: 5px; }
.form-group input {
    width: 100%; height: 40px; padding: 10px;
    border: 1px solid #ccc; border-radius: 4px;
    font-size: 14px;
}
.form-group input:focus { border-color: #0078d4; outline: none; }

.form-footer { font-size: 12px; color: #666; margin-bottom: 20px; }

.btn-submit {
    width: 100%; height: 40px;
    background-color: #0078d4; color: white;
    border: none; border-radius: 4px;
    font-size: 16px; font-weight: 600; cursor: pointer;
    transition: background 0.2s;
}
.btn-submit:hover { background-color: #005a9e; }

.error-msg { color: #d93025; font-size: 13px; margin-bottom: 10px; display: none; text-align: center;}

/* Responsive */
@media (max-width: 768px) {
    .header__con { padding: 10px 20px; }
    .welcome h1 { font-size: 28px; }
    .p-1 { font-size: 18px; }
    .box__data { gap: 10px; }
    .box__data-info { width: 45%; padding: 15px; }
    .login-card { width: 90%; }
}