@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.00625rem;
    color: #333;
    background-color: #fff;
    line-height: 1.75;
    letter-spacing: 0.006rem;
    font-size: 0.92rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: #fff;
    box-shadow: 0 2px 6px #0000001f, inset 0 -1px #dadce0;
    z-index: 10;
}

h1 {
    font-size: 2.25rem;
    font-weight: 600;
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #ddd;
}

::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 10px;
    border: 2px solid #ddd;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.login-container {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.login-content {
    border-radius: 28px;
    height: 384px;
    padding: 40px;
    width: 840px;
}

.login-language {
    padding: 10px 30px;
    width: 840px;
    background: #f5f5f5;
}

.language-form {
    background: #f5f5f5;
}

.language-select {
    width: 150px;
    border: none;
    background: #f5f5f5;
    height: 28px;
}

.login-logo img {
    width: 70px;
    height: auto;
}

.login-step {
    display: flex;
}

.login-logo {
    padding-bottom: 20px;
}

.step-side {
    min-width: 50%;
    padding-right: 40px;
}

.step-body {
    min-width: 50%;
    padding-left: 20px;
}

.login-input {
    width: 100%;
    border: 1px solid #333;
    margin-bottom: 10px;
    border-radius: 4px;
}

.password-recovery a, .resend-code a {
    color: #1a73e8;
}

.password-recovery a:hover, .resend-code a:hover {
    color: #174ea6;
}

.login-button {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.login-webmail {
    margin-right: 20px;
    padding: 8px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #1a73e8;
    border-radius: 30px;
}

.login-webmail a {
    color: #1a73e8;
}

.login-webmail a:hover {
    color: #174ea6;
}

.login-next {
    border-radius: 30px;
}

.login-input-text, .login-input-text:hover, .login-input-text:focus {
    border: none;
    width: 100%;
    height: 44px;
}

.container {
    display: flex;
    margin-top: 60px;
    flex-direction: column;
}

.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 60px;
    left: 0;
    overflow-y: auto;
    border-right: 1px solid #ccc;
    gap: 8px;
    background-color: #fff;
}

.sidebar nav ul {
    list-style: none;
    margin-top: 10px;
}

.sidebar nav ul li a:hover {
    background-color: #eee;
}

.sidebar nav ul li a {
    display: flex;
    padding: 15px 20px;
    border-radius: 5px;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.sidebar nav ul li a:hover {
}

.content {
    margin-left: 250px;
    width: calc(100% - 250px);
    padding: 20px 40px;
}

.content-header {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
    position: fixed;
    z-index: 1;
    top: 60px;
    left: 250px;
    padding: 20px 60px 17px 60px;
    width: calc(100% - 250px);
    justify-content: space-between;
}

.menu-container {
    display: flex;
    justify-content: flex-end;
    padding: 10px 40px 10px 10px;
    list-style: none;
    align-items: center;
    width: 100%;
}

.menu-container .icon, .sidebar .icon {
    font-size: 24px !important;
    margin-left: 10px !important;
}

.menu-right {
    display: flex;
}

.username {
    border: 1px solid #333;
    border-radius: 30px;
    padding: 0 10px 0 10px;
}

.menu-mobile-hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    display: none;
}

#menu-mobile {
    display: none;
    position: absolute;
    top: 50px;
    background-color: #fff;
    z-index: 9999;
}

#menu-mobile ul {
    list-style: none;
    padding: 0;
}

#menu-mobile ul li {
    border-bottom: 1px solid #ccc;
}

#menu-mobile ul li a {
    padding: 10px;
}

#menu-mobile ul li a:hover {
}

footer {
    text-align: center;
    font-size: 0.7rem;
    width: 100%;
    margin-top: 60px;
    background-color: #f5f5f5;
    bottom: 10px;
    position: relative;
}

.footer-text {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    background-color: #f5f5f5;
    font-size: 0.8rem;
}

.copyright {
    background-color: #f5f5f5;
    font-size: 0.8rem;
}

a:link {
    text-decoration: none;
}

a {
    display: flex;
    color: #333;
    text-decoration: none !important;
    align-items: center;
}

a:hover {
    color: #222;
    text-decoration: underline;
}

a:active {
    color: #444;
}

span {
    display: flex;
    align-items: center;
}

.icon.delete:hover {
    color: #f06565;
}

.icon {
    font-size: 20px;
    cursor: pointer;
    margin: 4px;
    background: transparent;
    color: #777;
}

.icon:hover {
    color: #333;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-showpass {
    display: inline-flex;
}

input[type="checkbox"] {
    margin: 4px;
}

label {
    background-color: #fff;
    display: block;
}

input {
    padding: 10px 10px 5px 10px;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin: 0 0 4px 0;
    outline: none;
}

input[type="number"] {
    width: 100px;
}

input[type="text"] {
  width: 100%;
}

input:focus {
    border-bottom: 1px solid #aaa;
}

form {
    min-width: 320px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    margin: 0 auto;
}

.form-default {
    margin-bottom: 15px;
    padding-bottom: 60px;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

button, .select-box {
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #1a73e8;
    color: #fff;
    padding: 20px 40px;
    border: none;
    cursor: pointer;
    gap: 8px;
    display: flex;
    height: 36px;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.select-box {
    background-color: #333;
}

button:hover {
    background-color: #174ea6;
}

button .icon {
    color: #fff;
}

.advanced-fields {
    border: none;
    background: transparent;
    padding: 10px;
    display: flex;
    align-items: center;
}

.advanced-fields-div {
    padding: 20px 20px 0px 20px;
}

.advanced-fields-icon:before {
    background-repeat: no-repeat;
    content: '';
    height: 20px;
    margin-top: -6px;
    position: absolute;
    width: 24px;
}

.hidden {
    display: none;
}

.table-default, .content-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.table-list {
    margin-top: 20px;
}

.content-body {
    padding: 20px;
    border: unset;
    margin-top: 50px;
}

.table-header {
    display: grid;
    grid-template-columns: 3.3fr 0.7fr 1fr;
    background-color: #eee;
    padding: 12px;
    font-weight: bold;
    text-align: left;
}

.table-body {
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.table-row {
    display: grid;
    padding: 8px;
    border-bottom: 1px solid #ddd;
    align-items: center;
}

.table-domain {
    grid-template-columns: 3.3fr 0.7fr 1fr;
}

.table-mailbox, .table-alias, .table-redirect {
    grid-template-columns: 2fr 2fr 0.5fr 0.5fr;
}

.table-row:last-child {
    border-bottom: none;
}

.th {
    background-color: #eee;
}

.td-domain {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.th-active, .td-active {
    display: flex;
    justify-content: end;
    height: 20px;
}

.th-actions, .td-actions {
    display: flex;
    justify-content: end;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #27ae60;
    transition: 0.4s;
    border-radius: 34px;
    width: 40px;
    height: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 50%;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #27ae60;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

input:not(:checked) + .slider {
    background-color: #f06565;
}

input:not(:checked) + .slider:before {
    transform: translateX(0);
}

.modal {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    overflow: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.close-btn {
    color: #ccc;
    font-size: 28px;
    font-weight: bold;
    float: right;
    margin-top: -20px;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#domainAddForm {
    display: flex;
    flex-direction: column;
}

.error-message {
    color: #e81403;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.icon.error {
    color: #e81403;
    font-size: 1rem;
}

.icon.success {
    color: #27ae60;
    font-size: 1rem;
}

.table-passwords, .table-recovery, .table-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
}

.custom-select {
    padding: 10px 40px;
    width: 840px;
}

.custom-select-button {
    width: 200px;
    position: relative;
}

.select-box {
    width: 100%;
    padding: 10px;
    cursor: pointer;
}

.options {
    display: none;
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    overflow-x: hidden;
}

.options div {
    padding: 10px;
    cursor: pointer;
}

.options div:hover, .options div a:hover {
    background: #f0f0f0 !important;
}

.options div a {
    background: transparent;
}

.dropdown-icon {
    background-color: #333;
    color: #fff;
    position: fixed;
    margin-left: 174px;
}

.custom-select-icon {
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    padding: 2px;
}

span#mailboxDomain {
    min-width: 50%;
    overflow: hidden;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container .togglePassword, .password-container .toggleConfirmPassword {
    position: absolute;
    right: 10px;
    top: 34%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ccc;
}

.toggle-password {
    padding-right: 30px;
}

input#phone, input#mailbox_other { 
    width: 94%;
}

input::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

.domain-summary {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-radius: 10px;
    background-color: #eee;
    overflow-x: auto;
    white-space: nowrap;
}

.info {
    border: 1px solid #ccc;
    padding: 20px;
    margin: 10px;
    align-items: center;
    border-radius: 10px;
}

.info-sub {
    display: flex;
}

.domain-summary .icon {
    font-size: 40px;
    pointer-events: none; /* Desativa interações com o ícone, como clique */
    font-weight: normal;  /* Garante que o ícone não fique bold */
    color: #ccc;
    padding-right: 10px;
}

.domain-summary .icon:hover {
    color: inherit; /* Garante que a cor não mude ao passar o mouse */
    font-weight: normal; /* Garante que o ícone não fique em negrito */
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f5f5f5;
}

.emphasis {
    font-weight: bold;
}

.dns-status {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
}

.monitoring-status {
    padding: 20px;
    margin: 4px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-ok {
    background: #27ae60;
}

.status-problem {
    background: #f06565;
}

.status-unknown {
    background: #ddd;
    color: #333;
}

.dns-monitoring span {
    padding: 10px 10px 0 0px;
    font-size: 1rem;
    font-weight: bold;
}

.dns-monitoring {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
}

.add-mailbox-btn {
    margin-top: 20px;
    display: flex;
    justify-content: end;
}

.menu.logout a, i.material-symbols-outlined.icon.logout {
    color: #f06565;
}

input[type="text"] {
    width: 96%;
}

input[type="checkbox"] {
    margin: 10px 10px 5px 10px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;

    -webkit-text-fill-color: #000000 !important;

    transition: background-color 5000s ease-in-out 0s;
}
