﻿
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

form {
    text-align: left;
}

.login-background {
    background-image: url('/images/background-cruise.png'); /* Đặt ảnh du thuyền ở đây */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.login-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    text-align: center;
}

    .login-container h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
    }

.login-logo {
    max-height: 40px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px 0 10px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.form-check {
    font-size:18px;
}

.btn-primary {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    background-color: #007bff;
    border: none;
    color: white;
    font-size:20px;
    font-weight: bold;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

.alert-danger {
   background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 16px;
    animation: fadeIn 0.4s ease-in-out;
}

.text-danger {
    color: red;
    font-size: 16px;
    margin-top: 5px;
    display: block;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 18px;
}

    .toggle-password:hover {
        color: #333;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.close {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #721c24;
    float: right;
    cursor: pointer;
}

.alert-dismissible .close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    color: #721c24;
    cursor: pointer;
}