/* * {
	margin: 0;
	padding: 0;
} */
.padding {
    padding: 16px !important;
}

.no-padding {
    padding: 0px !important;
}

.no-padding-bottom {
    padding-bottom: 0px !important;
}

.padding-10 {
    padding: 10px !important;
}

.padding-20 {
    padding: 20px !important;
}

.padding-top-10 {
    padding-top: 10px !important;
}

.padding-right-20 {
    padding-right: 20px !important;
}

.no-margin {
    margin: 0px !important;
}

.margin-top-16 {
    margin-top: 16px !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.margin-right-10 {
    margin-right: 10px !important;
}

.padding-sides-16 {
    padding: 0px 16px !important;
}

.height-40 {
    height: 40px !important;
    min-height: 40px !important;
}

.text-center {
    text-align: center !important;
}

.lowercase {
    text-transform: lowercase;
}

.material-icons {
    vertical-align: middle;
}

.material-icon-title {
    padding-right: 5px;
    padding-bottom: 2px;
    color: #32485f !important;
    font-weight: inherit !important;
}

md-input-container {
    margin: 15px 0 !important;
}

md-tab-content {
    background-color: #f2f2f2 !important;
    padding: 10px !important;
}

md-dialog {
    min-width: 500px !important;
}

md-dialog-actions {
    border-top: lightgray;
    border-top-style: solid;
    border-top-width: 1px;
}

.ordem-rotas-list-item {
    background-color: white;
    width: 80%;
    margin: 16px auto 0;
    cursor: move;
}

.md-title {
    font-size: inherit !important;
}

.col-50 {
    display: block;
}

.app-form,
.form-90 {
    width: auto;
    /*100%;*/
    /* margin: 10px auto; */
}

img {
    border: none;
}

.panel-expansivel-header {
    display: block;
    position: relative;
    outline: none;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    box-shadow: 0 -1px 0 #e5e5e5, 0 0 0px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24) !important;
    background: #fff;
}

.panel-expansivel-footer {
    box-shadow: 0 0px 0 #e5e5e5, 0 0 0px rgba(0, 0, 0, .12), 0 2px 3px rgba(0, 0, 0, .24) !important
}

.panel-expansivel-header-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 48px;
    line-height: 48px;
    padding: 0 24px;
    opacity: 1;
    z-index: 1;
    box-sizing: border-box;
}

.panel-expansivel-header-title {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 80px;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.panel-selecionado-header {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #fff !important;
}

/* SOBREESCREVENDO O CSS DA LIB */
md-expansion-panel {
    box-shadow: 0 -1px 0 #e5e5e5, 0 0 0px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24) !important;
}

md-expansion-panel-collapsed .md-title,
md-expansion-panel-header .md-title {
    font-size: 13px !important;
    font-weight: 400 !important;
    max-width: 400px !important;
}

md-card {
    box-shadow: none;
    /* box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.16); */
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.16);
}

.md-expansion-panel-header-container {
    background: #757575 !important;
}

body, html {
    overflow: visible !important;
}

/*body {
	background-color: #edecec;
}*/
/*
input, select, td {
	text-transform: uppercase;
}

h2 {
	color: #044481;
}

label{
	font-weight: normal !important;
}*/
.barraCabecalho {
    width: 100%;
    height: 10px;
    background-image: -webkit-linear-gradient(#04519b, #044687 60%, #033769)
}

.divCabecalho {
    height: 45px;
}

.welcome {
    position: relative;
    display: block;
    margin-top: -30px;
    float: right;
}

.sair {
    background-image: url(../imagens/sair.jpg);
    padding-top: 18px;
    padding-left: 46px;
    padding-bottom: 12px;
    background-repeat: no-repeat;
}

.nomeSistema {
    font-family: Arial;
    font-size: 30px;
    color: #044687;
    padding-left: 20px;
}

.versao {
    font-family: Arial;
    font-size: 15px;
    color: #5FB75F;
}

.cabecalho a:focus {
    outline: none;
}

.menu {
    padding-left: 10px;
    margin-top: 10px;
}

.container {
    padding-right: 40px;
    padding-left: 40px;
}

.somente-leitura {
    cursor: no-drop;
    background-color: whitesmoke;
}

.panelogin {
    margin: 0 auto;
    margin-top: 12%;
    width: 500px;
    height: 300px;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #000
}

.modal-loading {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-image: url("../imagens/back_modal.png");
    z-index: 2000;
    display: none;
}

.loading {
    background-image: url("../imagens/ajax-loader.gif");
    background-repeat: no-repeat;
    background-position: center center;
    width: 41px;
    height: 41px;
    border: 2px solid #000;
    background-color: #ccc;
    border-radius: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
    box-shadow: 0px 0px 10px #000;
}

.modal-title {
    color: white;
}

.modal-header {
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #044687;
    color: white;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.padding-right-10 {
    padding-right: 10px;
}

.md-icon:first-child {
    max-width: 24px;
    margin-right: 10px;
}

.padding-left-10 {
    padding-left: 10px;
}

.fieldsetLogin {
    border: none;
    width: 90%
}

.btn-full-width {
    width: 100%;
    padding: 5px;
}

.center {
    margin: 0 auto;
    display: table;
}

.right {
    float: right;
}

.pointer {
    cursor: pointer;
}

.app-modal-window .modal-dialog {
    width: 100px;
}

/*LOGIN*/
.account-wall {
    margin-top: 70px;
    padding: 40px 0px 20px;
    background-color: #FFF;
}

.login-form {
    background-color: rgba(255, 255, 255, .8);
    padding: 20px;
    min-width: 350px;
}

.login-background {
    background: url(../imagens/bilhar-background1.jpg) center;
    background-size: cover;
}

.login-sesinfo-bottom {
    bottom: 0;
    position: absolute;
    color: white;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0px auto;
}

.profile-img {
    width: 100px;
    height: 100px;
    margin: 0px auto 10px;
    display: block;
    border-radius: 50%;
}

.borda-campos-obrigatorios {
    border: 1px solid #A94442;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(169, 68, 66, 0.6);
}

/*
thead {
	background-color: #044687;
	color:white;
}*/

/* Icones */
.tabela-icone-editar {
    padding: 1px 12px;
    background: url("../images/Modify.png") no-repeat;
    cursor: pointer;
}

.tabela-icone-reset-senha {
    padding: 1px 12px;
    background: url("../images/reset.png") no-repeat;
    cursor: pointer;
}

.tabela-icone-remover {
    padding: 1px 12px;
    background: url("../images/Erase.png") no-repeat;
    cursor: pointer;
}

.tabela-icone-relocacao {
    padding: 1px 12px;
    background: url("../images/Refresh.png") no-repeat;
    cursor: pointer;
    margin-left: 10px;
}

.tabela-icone-relocacao-finalizar {
    padding: 1px 12px;
    background: url("../images/Home.png") no-repeat;
    cursor: pointer;
    margin-left: 10px;
}

.border-danger {
    border: 1px solid #A94442;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(169, 68, 66, 0.6);
}

.version {
    font-size: 10px;
}

.client {
    margin: 0 auto;
    display: table;
    font-size: 12px;
}

fieldset {
    border: 1px solid #c9c9c9;
    width: 100%;
    padding: 10px;
}

fieldset legend {
    background: transparent;
    padding: 10px;
    width: auto;
    border: 0 none;
    font-size: 14px;
    margin-bottom: 0px !important;
}

textarea {
    width: 100%;
    height: 100px;
}

.item {
    width: 98%;
    margin: 1%;
    border-radius: 2px;
    background-image: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
    text-align: center;
    cursor: move;
    color: white;
    list-style-type: none;
}

.DIAMOND-Logo-padrao {
    width: 160px;
    height: 120px;
    background-image: url("../imagens/DIAMOND-Logo-padrao.png");
    background-size: 160px 120px;
    background-repeat: no-repeat;
}

html {
    min-width: 100% !important;
    min-height: 100% !important;
}

.icone-informacao {
    padding: 1px 12px;
    background: url("../images/Information-icon.png") no-repeat;
    cursor: pointer;
}

.red {
    color: red;
}

/*
.bgBlue{
	width: 100%;
	height: 100%;
	background-image: url("../images/bgLogin.png");
	background-size: 100% 100%;
    background-repeat: repeat;
}*/
.action-menu i {
    line-height: 48px;
    margin-right: 10px;
}

@media (min-width: 959px) and (orientation: landscape) {
    .md-dialog {
        width: 800px;
    }
}

md-input-container [ng-message] {
    font-size: 12px;
}

.ng-valid~[ng-messages],
.ng-valid+[ng-messages] {
    opacity: 0;
}

.md-sidemenu-wrapper .md-sidemenu-wrapper .md-button {
    padding-left: 92px;
}

/*md-content[data-ng-view] {
    background-color: #edecec;
}*/
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.dropdown-menu>li>a {
    display: block;
    padding: 15px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
    color: #1f1f1f;
    text-decoration: none;
    outline: 0;
    background-color: #ececec;
}

.md-sidemenu-wrapper {
    margin-top: -1200px;
}

.md-button {
    min-width: 60px;
    margin: 2px;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.md-outline {
    border: 1px solid currentColor;
    background: transparent;
}

.md-outline:hover {
    background: rgba(63, 81, 181, 0.08) !important;
    /* leve destaque no hover */
}

.md-button.md-raised {
    box-shadow: none !important;
}

.nav-header {
    background-color: #253545;
    /* #3b4a58; */
    /* #106CC8; */
    /*background: url();*/
    /* background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0; */
    /* height: 150px; */
}

.nav-header .avatar {
    /*
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 100%;
*/
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.14);
    box-sizing: content-box;
}

.nav-header .profile-info {
    background: rgba(0, 0, 0, 0.37);
    padding: 5px 14px;
    color: #000000;
    font-size: 1em;
    /* margin-top: 20px; */
    position: relative;
}

.nav-header h1 {
    font-size: 26px;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.version-footer {
    background-color: #253545;
    padding: 5px;
    border-top: 2px solid #CE6B01;
    font-size: 0.85em;
    color: #ccc;
}

.nav-header .md-sidemenu .md-button {
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
}

.md-sidemenu-button {
    background-color: #253545 !important;
    color: #fff !important;
}

.nav-header .md-sidemenu-toggle md-icon {
    color: #fff;
}

.md-sidemenu-wrapper {
    margin-top: -1200px;
}

.md-sidemenu-toggle {
    background-color: #253545 !important;
    color: #fff !important;
}

.md-sidemenu-toggle md-icon {
    color: #fff !important;
}

.md-sidemenu-toggle md-icon:first-child {
    margin-right: 20px !important;
}

md-switch.toogle-menu.md-checked.md-primary ._md-bar {
    background-color: rgba(0, 0, 0, .3);
}

md-switch.toogle-menu.md-checked.md-primary ._md-thumb {
    background-color: #f59229;
    /* #fff; */
}

@media (min-width: 600px) {
    md-sidenav {
        max-width: 250px;
    }
}

.border-radius-15 {
    border-radius: 15px;
}

md-autocomplete {
    margin: 0 16px;
}

.pesquisa-rapida-autocomplete>* {
    box-shadow: none !important;
    background: rgba(243, 243, 243, 0.5);
    border: 1px solid rgb(241, 241, 241);
}

form {
    font-size: 18px;
}

.md-new {
    color: #fff !important;
    background-color: rgb(38, 175, 62) !important;
}

.tools>md-autocomplete {
    margin-left: 0;
}

.modal-form {
    width: 100%;
}

#loading-bar-spinner {
    top: 50% !important;
    left: 50% !important;
}

#loading-bar-spinner .spinner-icon {
    width: 150px !important;
    height: 150px !important;
    z-index: 61;
}

#loading-bar .bar {
    height: 5px !important;
}

#backdrop-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 60;
}

md-content {
    background-color: #fff;
    overflow-x: hidden;
}

md-input-container .md-errors-spacer {
    min-height: 0;
}

@media screen and (min-width: 1200px) {
    .col-50 {
        width: 50% !important;
    }

    .app-form {
        width: 85% !important;
        margin: 10px auto;
    }

    .app-form,
    .form-90 {
        width: 90% !important;
    }
}

._md-container {
    display: inline-block;
}

.circulo-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ccc;
    margin-right: 16px;
}

.circulo-icon>.icon {
    line-height: 60px;
    text-align: center;
    display: block;
    font-size: 2em;
    color: white;
}

.description {
    margin: 5px 0 0 0;
    color: #757575;
    font-size: 15px;
}

.card-valor {
    margin: 5px 0 0 0;
    font-size: 1.2em;
}

#toolbar-principal {
    background-color: #fff !important;
    border-bottom: 2px solid #CE6B01;
}

.logo-horizontal {
    display: block;
    max-width: 100%;
    height: 35px;
}

#rectangle1 {
    float: left;
    text-align: center;
    color: white;
    padding-top: 5px;
    background: #00cd00;
}

#rectangle2 {
    float: left;
    text-align: center;
    color: white;
    padding-top: 5px;
    background: #1c67ff;
}

#rectangle3 {
    float: right;
    text-align: center;
    color: white;
    padding-top: 5px;
    background: #ff5d00;
}

.total-grafico-faturamento {
    color: forestgreen;
    font-size: 23px;
    font-weight: bold;
}

md-toast {
    left: inherit !important;
    right: 0;
}


.align-left {
    text-align: left !important;
}

.remove_overflow {
    overflow: inherit;
}

.tip {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 15px 23px;
    margin: 20px 7px;
    color: #727272;
    border: 1px solid #eee
}

.notificacao-lida {
    background: #f8f8f8;
    cursor: pointer;
}

.notificacao-nao-lida {
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
}

.badge-content {
    position: relative;
}

.badge-content .badge {
    position: absolute;
    right: 5px;
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 50px;
    font-weight: bold;
    color: white;
    background: #ff5d00;
}

.md-sidemenu-wrapper.md-sidemenu-wrapper-icons .md-button {
    padding-left: 60px !important;
}

.submenu {
    padding-left: 12px !important;
}

.logo-wrapper {
    width: 200px;
    height: 200px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px dashed #ccc;
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.default-logo {
    background-color: #f5f5f5;
}

.default-logo i {
    font-size: 64px;
    color: #999;
}

.add-logo-message {
    text-align: center;
    color: #666;
}

.add-logo-message i {
    font-size: 48px;
    margin-bottom: 8px;
    color: #999;
}

.add-logo-message p {
    margin: 0;
    font-size: 14px;
}

.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.logo-wrapper:hover .logo-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.logo-hint {
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-wrapper:hover .logo-hint {
    opacity: 1;
}

.remove-logo-btn {
    margin-top: 8px;
    min-height: 0;
    line-height: 32px;
    font-size: 14px;
}

.remove-logo-btn i {
    font-size: 18px;
    margin-right: 4px;
}

.section-header {
    display: flex;
    align-items: center;
    padding-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;
}

.section-header i {
    color: #32485f;
    margin-right: 8px;
}

.section-title {
    color: #32485f;
    font-size: 14px;
    font-weight: 600;
}

md-input-container {
    margin: 15px 0;
}

.form-section {
    padding: 0 20px;
}

md-divider {
    margin: 20px 0;
}

.md-button.md-accent {
    background-color: #04519b;
    color: white;
}


.plan-card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.plan-header {
    padding: 24px;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.plan-badge {
    display: flex;
    align-items: center;
    color: #04519b;
    margin-bottom: 8px;
}

.plan-badge i {
    font-size: 20px;
    margin-right: 8px;
}

.plan-badge span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

.plan-name {
    color: #32485f;
    font-size: 28px;
    margin: 0;
    font-weight: 500;
}

.plan-details {
    padding: 24px;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.info-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-icon {
    margin-right: 16px;
    color: #04519b;
}

.info-icon i {
    font-size: 24px;
}

.info-content {
    flex: 1;
}

.info-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

.info-value {
    display: flex;
    align-items: baseline;
}

.info-value .number {
    font-size: 24px;
    font-weight: 500;
    color: #32485f;
    margin-right: 8px;
}

.info-value .unit {
    color: #666;
    font-size: 14px;
}

.usage-bar {
    margin-top: 24px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.usage-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.usage-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #666;
    font-size: 12px;
}

md-progress-linear.md-accent .md-bar {
    background-color: #04519b !important;
}

md-progress-linear {
    height: 8px !important;
}

md-progress-linear .md-container {
    height: 8px !important;
    border-radius: 4px;
    background-color: #e0e0e0 !important;
}

md-progress-linear .md-bar {
    height: 8px !important;
    border-radius: 4px;
}



/* Previous CSS remains the same */

.plan-price {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.price-label {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    color: #04519b;
}

.currency {
    font-size: 20px;
    font-weight: 500;
    margin-right: 4px;
}

.amount {
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}

.period {
    margin-left: 4px;
    color: #666;
    font-size: 14px;
}

/* Optional: Add animation on hover */
.price-amount:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}


/* Previous CSS remains the same */

.billing-section {
    margin-top: 32px;
}

.section-divider {
    position: relative;
    text-align: center;
    margin-bottom: 24px;
}

.section-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

.section-divider span {
    position: relative;
    background-color: #fff;
    padding: 0 16px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.billing-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.billing-details {
    flex: 1;
}

.billing-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.billing-row:last-child {
    margin-bottom: 0;
}

.billing-label {
    color: #666;
    font-size: 14px;
    width: 100px;
}

.billing-value {
    color: #32485f;
    font-weight: 500;
}

.billing-status {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-paid {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-pending {
    background-color: #fff3e0;
    color: #ef6c00;
}

.status-overdue {
    background-color: #fbe9e7;
    color: #c62828;
}

.billing-actions {
    margin-left: 24px;
}

.view-bill-btn {
    background-color: #fff !important;
    color: #04519b !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.view-bill-btn:hover {
    background-color: #f5f5f5 !important;
}

.view-bill-btn i {
    margin-right: 8px;
    font-size: 18px;
}




.limit-dialog {
    min-width: 400px;
    max-width: 600px;
}

.limit-dialog .md-dialog-content {
    padding: 24px;
}

.dialog-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.warning-icon {
    color: #f44336;
    font-size: 32px;
    margin-right: 12px;
}

.md-title {
    /* color: #32485f; */
    font-size: 25px !important;
    font-weight: bold;
}

.limit-dialog p {
    color: rgba(0, 0, 0, 0.87);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.limit-dialog md-dialog-actions {
    padding: 8px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.limit-dialog .md-button {
    margin: 0 4px;
}

.limit-dialog .md-button.md-accent {
    background-color: #04519b !important;
    color: white !important;
}

.limit-dialog .md-button i {
    margin-right: 8px;
    font-size: 18px;
}

/* Animation classes */
.limit-dialog.md-dialog-container {
    transform-origin: center center;
}

@keyframes dialogPopIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.limit-dialog.md-dialog-container.md-transition-in {
    animation: dialogPopIn 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.plan-status-button {
    margin: 8px 16px !important;
    padding: 8px 16px !important;
    text-align: left !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    color: white !important;
    width: calc(100% - 32px) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background-color: transparent !important;
    /* Makes button background transparent */
}

.plan-status-button:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.plan-status-button span {
    color: white !important;
    /* Ensures text is white */
}

.plan-status-button .material-icons {
    color: white !important;
    /* Ensures icon is white */
}

.trial-status,
.cancelled-status {
    margin: 16px;
    padding: 16px;
    border-radius: 4px;
}

.trial-warning {
    background-color: #fff3e0;
    display: flex;
    align-items: center;
}

.cancelled-warning {
    background-color: #ffebee;
    display: flex;
    align-items: center;
}

.warning-icon {
    margin-right: 16px;
}

.warning-icon i {
    font-size: 24px;
    color: #f57c00;
    /* orange for trial */
}

.cancelled-warning .warning-icon i {
    color: #d32f2f;
    /* red for cancelled */
}

.warning-message {
    flex: 1;
}

.warning-message h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 500;
}

.warning-message p {
    margin: 0;
    font-size: 14px;
}


.hint {
    color: rgba(0, 0, 0, 0.54);
    /* cor cinza */
    font-size: 12px;
    /* tamanho menor */
    margin-top: 5px;
    /* espaçamento do input */
    font-style: italic;
    /* opcional: deixa o texto em itálico */
}

.md-label {
    color: rgba(0, 0, 0, 0.54);
    margin-bottom: 8px;
    display: block;
}

md-radio-group {
    margin: 8px 0;
}

.validation-messages {
    color: rgb(221, 44, 0);
    font-size: 12px;
    margin-top: 4px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-circle {
    font-size: 12px;
}

/* Container Styles */
.expense-manager-container {
    /* padding: 24px;
    max-width: 1400px; */
    margin: 0 auto;
}

/* Header Styles */
.page-header {
    margin-bottom: 24px;
}

.header-title {
    color: rgba(0, 0, 0, 0.87);
}

.header-title h1 {
    margin: 0;
    font-weight: 400;
    margin-left: 10px;
}

.header-title .md-subhead {
    color: rgba(0, 0, 0, 0.54);
    margin-left: 10px;
}

.new-expense-btn {
    height: 48px;
}

.summary-cards {
    margin: 16px -8px;
}

.summary-cards md-card {
    margin: 0 8px;
    min-width: 200px;
}

.summary-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.54);
    margin-bottom: 8px;
}

.card-value {
    font-size: 24px;
    font-weight: 500;
}

.summary-card i {
    font-size: 36px;
    opacity: 0.8;
}

/* Add the new color for "Á vencer" card */
.summary-card.due-soon i {
    color: #00BCD4;
    /* Using cyan color to differentiate from other statuses */
}

.summary-card.total i {
    color: #2196F3;
}

.summary-card.pending i {
    color: #FF9800;
}

.summary-card.paid i {
    color: #4CAF50;
}

.summary-card.overdue i {
    color: #F44336;
}

/* Filter Card Styles */
.filter-card {
    margin-bottom: 24px;
    border-radius: 8px;
}

.month-display {
    font-size: 20px;
    font-weight: 500;
    text-transform: capitalize;
    min-width: 200px;
    text-align: center;
}

/* Table Styles */
.expenses-table-card {
    border-radius: 8px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.paid {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.status-badge.pending {
    background-color: #FFF3E0;
    color: #E65100;
}

.status-badge.overdue {
    background-color: #FFEBEE;
    color: #C62828;
}

.actions-cell {
    white-space: nowrap;
}

.actions-cell .md-icon-button {
    margin: 0 -6px;
}

/* Utilitários para painel financeiro */
.painel-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
}
.painel-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: 50%;
    margin: 0 0 0 0;
    box-sizing: border-box;
}


.md-open-menu-container {
    z-index: 99999 !important;
  }
@media (max-width: 959px) {
    .painel-row {
        flex-direction: column;
        gap: 8px;
    }
    .painel-card {
        max-width: 100%;
        width: 100%;
        margin-right: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 959px) {
    .expense-manager-container {
        padding: 16px;
    }


    .summary-cards {
        margin: 0 -4px 16px -4px;
    }


    .summary-cards md-card {
        margin: 4px;
    }
}

@media (max-width: 599px) {
    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .new-expense-btn {
        margin-top: 16px;
    }
}


.white-toolbar {
    background-color: white !important;
    color: rgba(0, 0, 0, 0.87);
    font-size: 20px;
    font-weight: 500;
    text-transform: capitalize;
}

/* Container Styles */
.expense-manager-container {
    /* padding: 24px;
    max-width: 1400px; */
    margin: 0 auto;
}

/* Header Styles */
.page-header {
    margin-bottom: 24px;
}

.header-title {
    color: rgba(0, 0, 0, 0.87);
}

.header-title h1 {
    margin: 0;
    font-weight: 400;
    margin-left: 10px;
}

.header-title .md-subhead {
    color: rgba(0, 0, 0, 0.54);
    margin-left: 10px;
}

.summary-cards {
    margin: 16px -8px;
}

.summary-cards md-card {
    margin: 0 8px;
    min-width: 200px;
}

.summary-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.54);
    margin-bottom: 8px;
}

.card-value {
    font-size: 24px;
    font-weight: 500;
}

.summary-card i {
    font-size: 36px;
    opacity: 0.8;
}

/* Add the new color for "Á vencer" card */
.summary-card.due-soon i {
    color: #00BCD4;
    /* Using cyan color to differentiate from other statuses */
}

.summary-card.total i {
    color: #2196F3;
}

.summary-card.pending i {
    color: #FF9800;
}

.summary-card.paid i {
    color: #4CAF50;
}

.summary-card.overdue i {
    color: #F44336;
}

/* Filter Card Styles */
.filter-card {
    margin-bottom: 24px;
    border-radius: 8px;
}

.month-display {
    font-size: 20px;
    font-weight: 500;
    text-transform: capitalize;
    min-width: 200px;
    text-align: center;
}

/* Table Styles */
.expenses-table-card {
    border-radius: 8px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.paid {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.status-badge.pending {
    background-color: #FFF3E0;
    color: #E65100;
}

.status-badge.overdue {
    background-color: #FFEBEE;
    color: #C62828;
}

.actions-cell {
    white-space: nowrap;
}

.actions-cell .md-icon-button {
    margin: 0 -6px;
}

/* Responsive Adjustments */
@media (max-width: 959px) {
    .expense-manager-container {
        padding: 16px;
    }
    
    .summary-cards {
        margin: 0 -4px 16px -4px;
    }
    
    .summary-cards md-card {
        margin: 4px;
    }
}

.white-toolbar {
    background-color: white !important;
}

.white-toolbar .md-toolbar-tools {
    color: rgba(0, 0, 0, 0.87);
}

.white-toolbar .material-icons {
    color: rgba(0, 0, 0, 0.87);
}

.white-toolbar .month-display {
    color: rgba(0, 0, 0, 0.87);
    font-size: 20px;
    font-weight: 500;
    text-transform: capitalize;
}

.white-toolbar .md-icon-button {
    color: rgba(0, 0, 0, 0.87);
}

/* Dialog styles */
.white-toolbar {
    background-color: white !important;
    border-bottom: 1px solid #e0e0e0;
}

.gray-background {
    background-color: #f5f5f5;
}

/* Header Section */
.header-section {
    padding: 24px;
    background-color: #fafafa;
}

.info-row {
    margin-bottom: 16px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-item {
    display: flex;
    align-items: center;
}

.info-item label {
    color: rgba(0, 0, 0, 0.54);
    font-size: 14px;
    margin-right: 8px;
    font-weight: 500;
}

.info-item .info-value {
    color: rgba(0, 0, 0, 0.87);
    font-size: 16px;
}

/* Values Section */
.values-section {
    padding: 24px;
}

.valores-container {
    margin: -8px 0;
}

.valor-item {
    margin: 8px 0;
    align-items: flex-start;
}

.valor-item md-input-container {
    margin: 0;
}

/* Button styles */
.add-button i {
    color: #4CAF50;
}

.remove-button i {
    color: #F44336;
}

.md-icon-button:hover i {
    opacity: 0.87;
}

/* Input styles */
md-input-container .md-errors-spacer {
    min-height: 0;
}

md-input-container label {
    color: rgba(0, 0, 0, 0.54);
}

/* Action buttons */
md-dialog-actions {
    border-top: 1px solid #e0e0e0;
    margin: 0;
    padding: 8px;
}

md-dialog-actions .md-button {
    margin: 0 8px;
}

/* Divider */
md-divider {
    margin: 0;
}

.balance-container {
    padding: 0 8px;
    margin-bottom: 18px;
}

.balance-label {
    color: rgba(0,0,0,0.54);
    font-size: 12px;
    margin-bottom: 4px;
    display: block;
}

.balance-value {
    font-size: 14px;
    color: rgba(0,0,0,0.87);
}


md-input-container {
    margin-bottom: 0;
}

textarea {
    min-height: 50px;
}




.statement-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.statement-table th {
    background-color: #f5f5f5;
    color: rgba(0,0,0,0.87);
    font-weight: 500;
    padding: 6px 8px; /* Decreased padding */
    text-align: left;
    border-bottom: 1px solid #ddd;
    height: 32px; /* Fixed height for header */
}

.statement-table td {
    padding: 4px 8px; /* Decreased padding */
    border-bottom: 1px solid #eee;
    color: rgba(0,0,0,0.87);
    height: 28px; /* Fixed height for rows */
    line-height: 1.2; /* Decreased line height */
}

.statement-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.statement-row:hover {
    background-color: #f5f5f5;
}

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

.transaction-icon {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 4px;
    vertical-align: middle;
}

.transaction-icon.EXPENSE {
    color: #f44336;
}

.transaction-icon.INCOME {
    color: #4caf50;
}

.transaction-icon.TRANSFER {
    color: #2196f3;
}

.negative {
    color: #f44336;
}

.positive {
    color: #4caf50;
}

.delete-icon {
    color: #757575;
    font-size: 16px !important;
}

.delete-icon:hover {
    color: #f44336;
}

.no-padding {
    padding: 0 !important;
}

.md-button.md-icon-button {
    margin: 0;
    padding: 0;
    height: 28px;
    width: 28px;
    min-height: 28px;
    line-height: 28px;
}

.icon-status {
    margin-left: 8px;
    font-size: 20px;
}

.icon-ok {
    color: #4CAF50;
    /* verde */
}

.icon-erro {
    color: #F44336;
    /* vermelho */
}
