.page-room * {
    box-sizing: border-box;
}

.page-room {
    margin-bottom: 100px;
}

.page-room .link-page {
    background: #272727;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.page-room .link-page .content {
    display: flex;
    align-items: center;
    color: #fff;
}

.page-room .link-page .title {
    font-size: 26px;
    font-weight: 700;
}

.page-room .btn-link-page {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-link-page .btn {
    display: flex;
    align-items: center;
    background: #fff;
    margin-left: 30px;
    padding: 5px 8px 5px 15px;
    border-radius: 50px;
}

.btn-link-page .text {
    font-size: 18px;
    font-weight: 700;
}

.btn-link-page .btn .image {
    background: #ffd3d4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.box-from {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

.box-from label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.box-from input[type=text] {
    border: 1px solid #e1e1e1;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    border-radius: 4px;
}

.box-from input ::-webkit-input-placeholder { /* Edge */
    color: #bebebe;
}

.box-from input :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #bebebe;
}

.box-from input ::placeholder {
    color: #bebebe;
}

.box-from  .form-group {
    margin-bottom: 20px;
}

.box-from .id-room {
    display: flex;
    background: #f7f7f7;
    padding: 25px 20px;
    margin-bottom: 50px;
}

.box-from .id-room .title {
    font-size: 18px;
    font-weight: 700;
    margin-right: 20px;
}

.box-from .id-room .number {
    font-size: 16px;
}

.box-from input[type=submit] {
    background: #e61e02;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    width: 100%;
    border: 0;
    border-radius: 5px;
    padding: 20px;
}

@media (max-width: 991px) {
    .page-room .link-page .content {
        display: block;
    }

    .box-from {
        width: 100%;
        margin-top: 20px;
    }

    .page-room .link-page .title {
        text-align: center;
        font-size: 15px;
    }

    .btn-link-page .btn {
        margin-left: 15px;
    }

    .btn-link-page .btn:first-child {
        margin-left: 0;
    }

    .btn-link-page .text {
        font-size: 12px;
    }

    .btn-link-page .btn .image {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-link-page .btn .image img {
        width: 50%;
    }

    .page-room .btn-link-page {
       justify-content: center;
    }

    .page-room .link-page {
        margin-bottom: 20px;
    }

    .box-from label,
    .box-from .id-room .title {
        font-size: 14px;
    }

    .box-from input[type=text],
    .box-from .id-room .number {
        font-size: 12px;
    }

    .box-from .id-room {
        padding: 15px;
        margin-bottom: 30px;
    }

    .box-from input[type=submit] {
        width: 200px;
        margin-left: auto;
        margin-right: auto;
        padding: 15px;
        font-size: 14px;
    }

    .form-group-btn {
        text-align: center;
    }
}
/*room creation*/
.box-id-room {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 30px;
}

.box-id-room .title {
    font-size: 20px;
    font-weight: 700;
    margin-right: 10px;
}

.box-id-room input {
    height: 40px;
}

.box-id-room .input-text {
    border: 1px solid #e1e1e1;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    width: 255px;
    margin-right: 20px;
}

.box-id-room .btn {
    background: #e61e02;
    color: #fff;
    padding: 5px 20px;
    border: 1px solid #e61e02;
    width: 150px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 0;
}

.box-table table {
    border: 1px solid #dedede;
}

.box-table thead {
    background: #fafafa;
}

.box-table table tr {
    border-bottom: 1px solid #dedede;
}

.box-table thead th {
    font-size: 18px;
    font-weight: 700;
    padding: 20px;
}

.box-table td {
    padding: 10px 20px;
    vertical-align: middle;
}

.box-btn-room {
    display: flex;
    align-items: center;
}

.box-btn-room button {
    background: #e61e02;
    color: #fff;
    font-size: 18px;
    border: 0;
    border-radius: 4px;
    padding: 3px 8px;
    margin-right: 10px;
}

@media (max-width: 991px) {
    .box-id-room .title {
        font-size: 12px;
    }

    .box-id-room .input-text {
        width: 50%;
        font-size: 12px;
    }

    .box-id-room input {
        height: 30px;
    }

    .box-id-room .btn {
        width: 80px;
        flex-shrink: 0;
        font-size: 12px;
    }

    .box-btn-room button {
        margin-right: 0;
        font-size: 14px;
        padding: 5px 10px;
    }

    .box-table td {
        padding: 15px 10px;
        font-size: 12px;
    }

    .box-btn-room {
        justify-content: flex-end;
    }

    .name-room {
        display: flex;
        align-items: center;
    }

    .name-room .text {
        margin-right: 5px;
    }

    .nickname {
        margin-top: 5px;
        margin-bottom: 5px;
    }
}
.box-from .error {
    margin-bottom: 15px;
}
[type='submit']:hover {
    cursor: pointer;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    top: 30%; /* Location of the box */
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.required {color: red}
.delete-room {
    background: red;
    color: white !important;
    border-radius: 3px;
    padding: 2px;
    margin-top: 5px;
    display: inline-block;
}