*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

#danger-alert, #warning-alert{
    position: fixed;
    top: 0;
    right: 0;
    padding: 15px 20px;
    font-size: 16px;
    z-index: 1000;
}

.container{
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: auto;
    z-index: 1;
}

body{
    background-color: #7d7c7c;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.orqagalink{
    text-align: left !important;
    padding-left: 10px;
}

.form_class{
    box-shadow: 0 0 25px rgb(176, 176, 176);
    width: 100%;
    max-width: 500px;
    height: auto;
    text-align: center;
    padding: 30px 20px;
    border-radius: 5px;
    background-color: #e5e4e4;
    border-top: 4px solid rgb(0, 0, 135);
}

.form_class img{
    width: 120px;
    max-width: 100%;
    border-radius: 100%;
    margin-bottom: 15px;
    height: auto;
}

.form_class p{
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    margin: 15px 0;
}

.form_class label{
    position: relative;
    display: block;
    margin: 15px 0;
}

.form_class label > input{
    width: 100%;
    max-width: 350px;
    height: 40px;
    padding: 8px 10px;
    border: 1px solid #999;
    outline: none;
    letter-spacing: 1px;
    color: rgb(0, 0, 135);
    font-size: 14px;
}

.form_class label > input::placeholder {
    color: #999;
}

.form_class label > i{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(0, 0, 135);
}

.form_class .chack{
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    gap: 10px;
}

.chack input{
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.form_class .btn{
    width: 100%;
    max-width: 350px;
    height: 45px;
    border: 1px solid rgb(0, 0, 135);
    border-radius: 3px;
    font-size: 16px;
    letter-spacing: 1px;
    margin: 20px auto;
    color: rgb(0, 0, 135);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form_class .btn:hover {
    background-color: rgb(0, 0, 135);
    color: #e5e4e4;
}

.form_class .btn:active {
    transform: scale(0.98);
}

tbody, td, tfoot, th, thead, tr{
    border-color: #007bff!important;
}

/* Tablet va katta ekranlar */
@media (min-width: 768px) {
    .form_class {
        padding: 40px 30px;
    }
    
    .form_class img {
        width: 150px;
    }
    
    .form_class p {
        font-size: 22px;
    }
    
    .form_class label > input {
        max-width: 350px;
    }
    
    .form_class .btn {
        max-width: 350px;
    }
}

/* Kichik mobile qurilmalar */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .form_class {
        padding: 20px 15px;
        border-radius: 3px;
    }
    
    .form_class img {
        width: 100px;
        margin-bottom: 10px;
    }
    
    .form_class p {
        font-size: 18px;
        margin: 10px 0;
    }
    
    .form_class label {
        margin: 12px 0;
    }
    
    .form_class label > input {
        max-width: 100%;
        height: 38px;
        font-size: 16px;
    }
    
    .form_class label > i {
        right: 15px;
    }
    
    .form_class .chack {
        font-size: 14px;
    }
    
    .form_class .btn {
        max-width: 100%;
        height: 40px;
        font-size: 15px;
    }
    
    #danger-alert, #warning-alert {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Landscape mode */
@media (max-height: 600px) {
    body {
        min-height: auto;
        padding: 10px;
    }
    
    .form_class {
        padding: 15px;
    }
}