@import url("//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css");

/* ==================== TVU BRAND IDENTITY - FONTS ==================== */
@font-face {
    font-family: 'UTM Futura';
    src: url('../fonts/UTM_Futuraf.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* ==================== TVU BRAND IDENTITY - COLORS ==================== */
:root {
    --tvu-blue: #053384;
    --tvu-yellow: #FFFF00;
    --tvu-green: #007500;
    --tvu-text-dark: #333333;
    --tvu-text-light: #FFFFFF;
    --tvu-background-light: #FFFFFF;
    --tvu-background-gray: #f8f9fa;
}

/* ==================== GLOBAL STYLES ==================== */
body, p, span, li, a, input, label {
    font-family: 'Roboto', sans-serif;
    color: var(--tvu-text-dark);
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    font-family: 'UTM Futura', sans-serif;
    color: var(--tvu-blue);
}

/* ==================== LOGIN PAGE LAYOUT ==================== */
.login-block {
    background: var(--tvu-blue) !important;
    background: linear-gradient(135deg, var(--tvu-blue) 0%, #0a4ba8 100%) !important;
    float: left;
    width: 100%;
    padding: 50px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 500px;
    background: var(--tvu-background-light);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ==================== LOGIN SECTION ==================== */
.login-sec {
    padding: 50px 40px;
    position: relative;
    border-radius: 10px;
}

.login-sec .copy-text {
    position: absolute;
    width: 80%;
    bottom: 20px;
    font-size: 13px;
    text-align: center;
}

.login-sec .copy-text i {
    color: var(--tvu-yellow);
}

.login-sec .copy-text a {
    color: var(--tvu-blue);
}

/* Logo TVU */
.tvu-logo {
    max-width: 200px;
    margin: 0 auto 30px;
    display: block;
}

/* Logo TVU với tên trường đầy đủ */
.tvu-logo-full {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto 30px;
    display: block;
}

/* ==================== HEADINGS ==================== */
.login-sec h2 {
    margin-bottom: 30px !important;
    font-weight: 800 !important;
    font-size: 30px !important;
    color: var(--tvu-blue) !important;
    font-family: 'UTM Futura', sans-serif !important;
}

.login-sec h2:after {
    content: " " !important;
    width: 100px !important;
    height: 5px !important;
    background: var(--tvu-blue) !important;
    display: block !important;
    margin-top: 20px !important;
    border-radius: 3px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ==================== BUTTONS - TVU STYLE ==================== */
.btn-login {
    background: var(--tvu-blue) !important;
    color: var(--tvu-text-light) !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 10px 30px !important;
    transition: all 0.3s ease !important;
}

.btn-login:hover {
    background: #042965 !important;
    color: var(--tvu-text-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 51, 132, 0.3) !important;
}

.google-button {
    background: #DB4437 !important;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.google-button:hover {
    background: #C33D2E !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(219, 68, 55, 0.3);
}

/* ==================== FORMS - TVU STYLE ==================== */
.form-control {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px 15px;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--tvu-blue);
    box-shadow: 0 0 0 0.2rem rgba(5, 51, 132, 0.15);
}

.form-group label {
    font-weight: 500;
    color: var(--tvu-text-dark);
    font-size: 14px;
    margin-bottom: 8px;
}

/* ==================== LINKS ==================== */
a {
    color: var(--tvu-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #042965;
    text-decoration: underline;
}


/* ==================== DIVIDER LINE ==================== */
.line {
    height: 1px;
    width: 45%;
    background: #dee2e6;
    display: inline-block;
}

.line-text {
    color: #6c757d;
    font-size: 12px;
}

/* ==================== BORDER STYLES ==================== */
.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .login-block {
        padding: 20px 0;
    }
    
    .banner-sec {
        display: none;
    }
    
    .login-sec {
        padding: 30px 20px;
    }
    
    .tvu-logo {
        max-width: 150px;
    }
}

/* ==================== FONTAWESOME PLACEHOLDER ==================== */
.placeicon {
    font-family: fontawesome;
}

.custom-control-label::before {
    background-color: #dee2e6;
    border: #dee2e6;
}
