html {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    min-height: 100%;
}

.container, .container-fluid{
    min-height: calc(100vh - 83px)!important;
}

#sidebar {
    width: 25%;
    overflow-y: auto;
    background: #e9ecef; /* Cinza claro */
    padding: 1rem; /* Ajusta o espaçamento interno */
    border-right: 1px solid #dee2e6;
    min-height: 100%;
}

#content {
    flex-grow: 1;
    padding: 20px;
}

.btn-dark {
    background-color: #007bff; /* Azul médio */
    border: none;
}

.btn-dark:hover {
    background-color: #0056b3; /* Azul escuro */
}

.btn-danger {
    background-color: #ff6b6b; /* Vermelho claro */
    border: none;
}

.btn-danger:hover {
    background-color: #e63946; /* Vermelho mais escuro */
}

.btn-primary {
    background-color: #007bff; /* Azul médio */
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3; /* Azul escuro */
}

.btn-info {
    background-color: #17a2b8; /* Azul claro */
    border: none;
}

.btn-info:hover {
    background-color: #138496; /* Azul mais escuro */
}

/* Links */
a {
    color: #0056b3; /* Azul escuro */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.webhook-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    height: 75px;
}

.webhook-item:hover {
    background: #e4e4e4;
}

.webhook-item.active {
    background: #5b5b5b;
    color: #f1f2f3;
}

.webhook-details {
    background: #fff;
    border-radius: 4px;
}

/* Badge de método com cores */
.div-badge {
    padding-right: 10px;
}

.badge {
    font-weight: bold;
    padding: 4px 6px;
    border-radius: 4px;
    min-width: 50px;
}

.badge-get {
    background: #5cb85c;
    color: white;
}

.badge-post {
    background: #5bc0de;
    color: white;
}

.badge-put {
    background: #777;
    color: white;
}

.badge-delete {
    background: #d9534f;
    color: white;
}

.badge-patch {
    background: #f0ad4e;
    color: white;
}

.badge-head {
    background: #337ab7;
    color: white;
}

.badge-options {
    background: #777;
    color: white;
}

pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    max-width: 100%;
    white-space: pre;
    word-break: break-all;
}

.remove-btn:hover {
    background-color: darkred;
}

.forward-btn, .remove-btn {
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.forward-btn {
    margin-right: 5px;
}

.forward-btn img {
    width: 15px;
    filter: brightness(0) invert(1);
}

.clear-all {
    background: #f44336;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

table.compact-table td {
    padding: 4px;
    font-size: 12px;
}

.new {
    display: none;
    margin-left: 5px;
    margin-top: -1px;
}

.unviewed .new {
    display: block;
}

.new i {
    color: #27dd12;
    font-size: 12px;
}

.forwarded {
    display: inline-block;
    font-style: italic;
    font-size: 65%;
    margin-left: -4px;
    margin-top: -4px;
    margin-bottom: 5px;
    height: 15px;
}

.forwarded img {
    width: 12px;
    margin-top: -3px;
}

.webhook-item.active .forwarded img {
    filter: brightness(0) invert(1);
}

.forward-btn {

}

.url-list {
    max-height: 250px;
}

.urls-table td {
    vertical-align: middle;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

/* Tooltip padrão */
.tooltip .tooltip-inner {
    background-color: #343a40 !important; /* Preto padrão */
    color: #fff !important;
}
.tooltip .arrow::before {
    border-top-color: #343a40 !important; /* Cor da seta */
}

/* Tooltip verde para "Copiado com sucesso" */
.tooltip.tooltip-success .tooltip-inner {
    background-color: #28a745 !important; /* Verde */
    color: #fff !important;
}
.tooltip.tooltip-success .arrow::before {
    border-top-color: #28a745 !important;
}

/* Tooltip laranja para "Abrir em outra aba" */
.tooltip.tooltip-warning .tooltip-inner {
    background-color: #ff9800 !important; /* Laranja */
    color: #fff !important;
}
.tooltip.tooltip-warning .arrow::before {
    border-top-color: #ff9800 !important;
}

.bg-dark{
    background: #0b1423!important;
}

.logo {
    height: 67px;
    background-image: url("/images/logo.png");
    width: 235px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    font-size: 24px;
}

.plan-card,
.payment-method-card,
.card-type-option,
.saved-card-option {
    cursor: pointer;
    border: 1px solid #e0e0e0;
}

.plan-card:hover,
.payment-method-card:hover,
.card-type-option:hover,
.saved-card-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.plan-card.selected,
.payment-method-card.selected,
.card-type-option.selected,
.saved-card-option.selected {
    border: 2px solid #007bff!important;
    background-color: #f8f9ff!important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1)!important;
}

.card-info {
    margin-right: 10px;
}
