/*-- ======================================================================|
--   ____      _      __  __   _____      ____    ___    ____    _____   |
--  / ___|    / \    |  \/  | | ____|    / ___|  / _ \  |  _ \  | ____|  |
-- | |  _    / _ \   | |\/| | |  _|     | |     | | | | | | | | |  _|    |
-- | |_| |  / ___ \  | |  | | | |___    | |___  | |_| | | |_| | | |___   |
--  \____| /_/   \_\ |_|  |_| |_____|    \____|  \___/  |____/  |_____|  |
--                                                                       |
-- @ Author Enctype | www.gamecode.com.br                                |
-- ======================================================================|*/

@font-face {
    font-family: 'Albertus MT Std Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Albertus MT Std Regular'), url('../fonts/AlbertusMTStd.woff') format('woff');
}

@font-face {
    font-family: 'Albertus MT Std Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Albertus MT Std Italic'), url('../fonts/AlbertusMTStdItalic.woff') format('woff');
}

@font-face {
    font-family: 'Albertus MT Std Light';
    font-style: normal;
    font-weight: normal;
    src: local('Albertus MT Std Light'), url('../fonts/AlbertusMTStdLight.woff') format('woff');
}

body {
    padding: 0;
    margin: 0;
    background: transparent;
}

.update {
    background: url("../images/background.png") no-repeat top center;
    width: 428px;
    height: 466px;
    position: relative;
    -webkit-user-select: none;
    -webkit-app-region: drag;
    overflow: hidden;
}

/* Logo */
.update .logo {
    margin: 192px auto 0;
    position: relative;
}

.update .logo img {
    display: block;
    margin: 0 auto;
}

/* Container principal */
.update .container {
    width: 333px;
    margin: 0 0 0 46px;
}

/* Informações de progresso */
.update .container .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.update .container .info .text1 {
    font-family: "Albertus Medium";
    font-size: 13px;
    color: #fff;
    margin: 1px 0 4px 12px;
}

.update .container .info .percentual {
    font-family: "Albertus Medium";
    font-size: 18px;
    color: #fff;
    text-align: right;
    margin: 0 4px 0 0;
}

.update .container .info .percentual .latestversion {
    font-size: 13px;
}

/* Barra de progresso */
.update .container .progressbar {
    background: url('../images/progressbar.png') no-repeat top center;
    width: 333px;
    height: 12px;
    position: relative;
    margin: 1px 0 0;
}

.update .container .progress-s {
    position: relative;
    width: 318px;
    height: 6px;
    top: 3px;
    left: 8px;
    background-size: cover;
}

/* Progresso */
.update .container .progress {
    background: url('../images/progresscolor.png') no-repeat;
    background-size: cover;
    position: absolute;
    height: 100%;
    width: 0; /* Inicialmente 0, será alterado dinamicamente */
    transition: width 0.3s ease;
}

/* Arquivos */
.update .container .files {
    font-family: "Albertus Medium";
    font-size: 12px;
    color: #fff;
    margin: 5px 0 0 12px;
}

/* Status e Velocidade */
#status {
    font-family: "Albertus Medium";
    font-size: 12px;
    color: #fff;
    margin: 5px 0 0 12px;
}

#speed {
    font-family: "Albertus Medium";
    font-size: 12px;
    color: #fff;
    margin: 5px 0 0 12px;
    display: none; /* Iniciado como invisível até ser atualizado */
}

/* Total de arquivos */
#total-files {
    font-family: "Albertus Medium";
    font-size: 12px;
    color: #fff;
    margin: 5px 0 0 12px;
    display: none; /* Iniciado como invisível até ser atualizado */
}
