p a{
    color: rgb(21, 87, 145);
}

body{
    background-color: #11141A;
}

/* WELCOME TEXT */
/* Mobile */
@media (max-width: 750px) {
    .welcomeh1{
        color: #E4E8EF;
        margin-bottom: 0px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
        text-align: center;
    }
    .welcomeh3{
        color: #A5ACB9;
        font-family: poppins;
        margin-top: 12.5px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
        text-align: center;
        font-size: 15px;
    }
    .description-p{
        color: #A5ACB9;
    }
    .description-h2{
        color: #E4E8EF;
    }
    .description-h3{
        color: #E4E8EF;
    }
}
/* Computer */
@media (min-width: 751px) {
    .welcomeh1{
        color: #E4E8EF;
        padding-left: 15px;
        margin-bottom: 0px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
    }
    .welcomeh3{
        color: #A5ACB9;
        padding-left: 15px;
        font-family: poppins;
        margin-top: 12.5px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
    }
    .description-p{
        color: #A5ACB9;
        padding-left: 15px;
    }
    .description-h2{
        color: #E4E8EF;
        padding-left: 15px;
    }
    .description-h3{
        color: #E4E8EF;
        padding-left: 15px;
    }
}

/* SERVICE ANNOUNCEMENT */
.service-announcement_container{
    padding: 25px;
    background-color: #0B0E12;
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
}
#service-announcement{
    margin-left: 20px;
    font-size: 18px;
    font-weight: bold;
    font-family: "titles", sans-serif;
    color: white;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

.profile-tabs a{
    text-decoration: none;
    color: rgb(255, 255, 255);
}
.profile-tabs img{
    filter: invert(1);
}

.profile-tabs{
    display: flex;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    width: 100%;
    background-color: #22458b;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 30px;
    gap: 30px;
    overflow-x: auto;
}

.profile-tabs-item{
    display: flex;
    font-family: "poppins", sans-serif;
    align-items: center;
    gap: 5px;
    text-wrap: nowrap;
    transition: transform 0.05s;
}
.profile-tabs-item:hover{
    transform: scale(110%);
}
.profile-tabs-item.active{
    font-weight: bold;
}
.profile-tabs-item p{
    margin: 0;
}

/* ALWAYS ASK SWITCH */
.switch-container{
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 15px;
}
.switch-container p{
    color: #E4E8EF;
    margin: 0;
}
.switch{
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: 52px;
    height: 28px;
}
.switch input{
    opacity: 0;
    width: 0;
    height: 0;
}
.slider{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #323742;
    border-radius: 28px;
    transition: background-color 0.2s;
}
.slider:before{
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    left: 4px;
    bottom: 4px;
    background-color: #E4E8EF;
    border-radius: 50%;
    transition: transform 0.2s;
}
.switch input:checked + .slider{
    background-color: rgb(21, 87, 145);
}
.switch input:checked + .slider:before{
    transform: translateX(24px);
}
.switch input:disabled + .slider{
    cursor: default;
    opacity: 0.6;
}

/* ADDRESS TABLES */
.address-table{
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    background: #151923;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.address-table thead {
  background: #1C2130;
}

.address-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #E4E8EF;
  font-family: poppins, sans-serif;
}

/* Rows */
.address-table td {
  padding: 14px 18px;
  border-top: 1px solid #22283A;
  font-size: 14px;
  font-family: poppins, sans-serif;
  color: #9AA3B2;
}

/* Hover effect */
.address-table tbody tr:hover {
  background: #1A1F2D;
}

/* Label and address columns (wrap long text) */
.address-table td.label {
  max-width: 220px;
  overflow-wrap: anywhere;
  color: #E4E8EF;
}
.address-table td.address {
  max-width: 320px;
  overflow-wrap: anywhere;
  font-size: 13px;
}

/* Action links */
.address-table td.action a {
  display: inline-block;
  color: #6FA8DC;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.address-table td.action a:hover {
  background: rgba(111, 168, 220, 0.15);
}
.address-table td.action a.confirm {
  color: #6FCF97;
}
.address-table td.action a.confirm:hover {
  background: rgba(111, 207, 151, 0.15);
}
.address-table td.action a.remove {
  color: #FF6B6B;
}
.address-table td.action a.remove:hover {
  background: rgba(255, 107, 107, 0.15);
  color: #FF8C8C;
}

/* Phones: tighter cells and stacked links so the table fits the screen */
@media (max-width: 750px) {
    .address-table th, .address-table td{
        padding: 10px 8px;
    }
    .address-table td.action a{
        display: block;
        padding: 6px 0px;
    }
    .tag{
        margin-left: 0px;
        white-space: normal;
    }
}

/* Tags next to the label */
.tag{
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    white-space: nowrap;
}
.tag-support{
    background: rgba(111, 168, 220, 0.15);
    color: #6FA8DC;
}
.tag-confirm{
    background: rgba(242, 201, 76, 0.15);
    color: #F2C94C;
}
.tag-network{
    background: rgba(38, 161, 123, 0.15);
    color: #26A17B;
}

/* Shown instead of Confirm while codes are off */
.address-table td.action .confirm-off{
    display: block;
    max-width: 200px;
    padding: 6px 10px;
    font-size: 12px;
    color: #F2C94C;
}
@media (max-width: 750px) {
    .address-table td.action .confirm-off{
        padding: 6px 0px;
    }
}

/* CODES OFF NOTICE */
.codes-off-notice{
    max-width: 870px;
    margin: 15px;
    padding: 12px 15px;
    border-radius: 10px;
    background: rgba(242, 201, 76, 0.15);
    color: #F2C94C;
    font-family: poppins, sans-serif;
    font-size: 14px;
}

/* FORMS (as on the security page) */
.button{
    border: 1px solid rgb(21, 87, 145);
    color: white;
    text-decoration: none;
    background-color: rgb(21, 87, 145);
    padding: 15px 50px;
    font-size: 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    width: fit-content;
    justify-content: center;
    align-items: center;
}

.input-container{
    display: flex;
    width: 350px;
    height: 25px;
}

.input-container input, .input-container select{
    width: 60%;
    padding: 20px 20px;
    border: 1px solid #c2c8d1;
    outline: none;
    border-radius: 15px;
    margin-left: 25px;
    background-color: #11141A;
    color: #c2c8d1;
}
.input-container select{
    padding: 10px 20px;
    height: 42px;
}

.input-container p{
    width: 160px;
    color: #c2c8d1;
    padding-left: 15px;
}