
.login_box {
    width: 600px;
    background: #f4f4f4;
    margin: 0 auto;
    max-width: 90%;
    box-shadow: 0px 1px 3px 1px #ccc;
    -moz-box-shadow: 0px 1px 3px 1px #ccc;
    -webkit-box-shadow: 0px 1px 3px 1px #ccc;
}

.login_box header {
    padding: 30px 20px;
    text-align: center;
    background: #086972;
}

.login_box header h1 {
    font-size: 2.4em;
    font-weight: bold;
    color: #f4f4f4;
    line-height: 1.1;
    margin-bottom: 5px;
}

.login_box header p {
    font-size: 0.7em;
    font-weight: 500;
    text-transform: uppercase;
}

.login_box .trigger {
    text-align: center;
}

.login_box .trigger a {
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}

.login_box .trigger a:hover {
    text-decoration: underline;
}

/*FORMS*/
.account_form_fields {
    padding: 30px 30px 15px 30px;
}

.account_form_fields .legend {
    display: block;
    width: 100%;
    font-size: 1.5em;
    margin: 30px 0 10px 0;
}

.account_form_fields label {
    display: block;
    margin-bottom: 6px;
    font-size: 1em;
    font-weight: 500;
    color: #444;
}

.account_form_fields label span legend {
    display: block;
    width: 100%;
    margin-bottom: 5px;
    font-size: 0.85em;
}

input,
select {
  margin-bottom: 15px;
}

.account_form_fields label input {
    font-size: 1.1em;
  border-radius: 6px;
}

.account_form_fields label .input select  {
    padding: 10px;
    border: 2px solid #ccc;
    color: #555;
}

.account_form_fields input {
    border: 2px solid #ccc;
}



.account_form_actions {
    padding: 0px 0;
    text-align: center;
    background: #f4f4f4;
}

.account_form_actions .btn {
    display: inline-block;
    margin: 0 auto;
    font-weight: 600;
    font-size: 1.2em;
    text-transform: uppercase;
    padding: 10px 40px;
}

.account_form_actions img {
    height: 26px;
    margin-top: -5px;
    margin-left: 10px;
    display: none;
}

.account_form_actions a {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 300;
    color: #555;
    text-transform: uppercase;
    text-decoration: none;
}

.account_form_actions a:hover {
    text-decoration: underline;
}

.account_form_actions .create {
    margin-left: 30px;
    font-weight: 400;
    color: #333;
}

.account_box {
    display: inline-block;
    width: 100%;
    background: #fff;
    vertical-align: top;
}

.account_box .trigger {
    font-size: 1em;
}

.account_box .trigger a {
    color: inherit;
    font-weight: bold;
}

.account_box .paginator {
    text-align: center;
    margin: 15px 0 0 0;
}



.user-type-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.user-type-options input[type="radio"] {
    display: none;
    /* Esconde o input nativo */
}

.user-type-options .btn-option {
    flex: 1;
    text-align: center;
    padding: 12px;
    border: 2px solid #02AAB5;
    border-radius: 8px;
    font-weight: 600;
    color: #02AAB5;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover bonito */
.user-type-options .btn-option:hover {
    background: rgba(2, 170, 181, 0.1);
}

/* Quando o botão está selecionado */
.user-type-options input[type="radio"]:checked+.btn-option {
    background: #02AAB5;
    color: #fff;
    box-shadow: 0 4px 8px rgba(2, 170, 181, 0.3);
}

/* Para telas menores */
@media (max-width: 500px) {
    .user-type-options {
        flex-direction: column;
    }
}

/* para fazer o municipio desaparecer */
select:disabled {
    background: #f2f2f2;
    color: #888;
    cursor: not-allowed;
    border-color: #ddd;
}

.workcontrol_account_view {
    padding: 30px;

    /* Gradiente institucional */
    background: linear-gradient(135deg, #3a9ec6 0%, #1b558e 100%);

    /* Refinos visuais */
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.account_user_avatar {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

.account_box .account_form_callback {
    position: fixed;
    right: 0;
    top: 0;
    padding: 15px;
    width: 500px;
    max-width: 100%;
}

.account_box .account_form_callback .trigger {
    text-align: left;
}

.wc_account_title {
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: #111010;
    padding-bottom: 5px;
    margin-bottom: 30px;
    border-bottom: 3px solid #f2f2f2;
}

.wc_account_title span {
    border-bottom: 3px solid #888;
    padding-bottom: 5px;
}

.wc_spacer {
    padding: 2px;
    margin: 30px 0;
    background: #fbfbfb;
}

.workcontrol_account_home p {
    display: inline-block;
    width: 50%;
    padding: 10px;
    border: 1px solid #fff;
}

.workcontrol_account_home p b {
    font-weight: 300;
    color: #fff;
}

.workcontrol_account_home .btn {
    font-size: 0.8em;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
}

.wc_account_order {
    font-size: 0.875em;
    padding: 15px 0;
    border-bottom: 1px solid #f2f2f2;
}

.wc_account_order p {
    display: inline-block;
    width: 20%;
    color: #888;
    text-align: center;
}

.wc_account_order p:first-of-type {
    text-align: left;
}

.wc_account_order a {
    color: #000;
    font-weight: 400;
    text-decoration: none;
}

.wc_account_order a:hover {
    text-decoration: underline;
}

.wc_order_addr {
    margin: 0 0 20px 0;
    font-size: 0.875em;
    padding: 10px;
    border: 1px solid #f2f2f2;
}

.wc_order_addr b {
    font-weight: 400;
    font-size: 1.2em;
}

.workcontrol_order_completed_card {
    display: block;
    width: 100%;
}

.workcontrol_order_completed_card p {
    display: inline-block;
    width: 20%;
    text-align: center;
    font-weight: bold;
    color: #888;
    font-size: 0.875em;
}

.workcontrol_order_completed_card a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.workcontrol_order_completed_card a:hover {
    text-decoration: underline;
}

.workcontrol_order_completed_card.items img {
    display: inline-block;
    vertical-align: middle;
    width: 15%;
}

.workcontrol_order_completed_card.items .product span {
    display: inline-block;
    vertical-align: middle;
    width: 85%;
    padding-left: 5%;
}

.workcontrol_order_completed_card.items {
    border-bottom: 1px solid #eee;
}

.workcontrol_order_completed_card.items p {
    font-weight: 300;
    color: #000;
    display: inline-block;
    vertical-align: middle;
    padding: 20px 0;
}

.workcontrol_order_completed_card .product {
    width: 40%;
    text-align: left;
}

.workcontrol_order_completed_card.total {
    display: block;
    text-align: right;
    padding-top: 30px;
    color: #888;
    font-size: 1.3em;
    font-weight: 300;
}

.workcontrol_order_completed_card.total b {
    display: inline-block;
    width: 200px;
    font-weight: 300;
}

.workcontrol_order_completed_card.total .wc_cart_price b,
.workcontrol_order_completed_card.total .wc_cart_price {
    font-weight: 400;
    color: #000;
}


@media (max-width: 42em) {
    .workcontrol_account_home p {
        width: 100%;
    }

    .wc_account_order p {
        width: 50%;
        padding: 10px 0 0 0;
    }

    .wc_account_order p:first-of-type {
        width: 100%;
        padding: 10px;
        background: #f2f2f2;
    }
}

/*
PEDIDOS
*/

/* ============================
   TEMA KATENDE - TABELA
   ============================ */

.table_responsive {
    width: 100%;
    overflow-x: auto;
    background: #f2fefe;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #caefeb;
}

/* TABELA BASE */
.table_orders {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.table_orders th,
.table_orders td {
    padding: 12px 14px;
    text-align: left;
}

/* CABEÇALHO */
.table_orders thead tr {
    background: #086972;           /* Azul Escuro */
    color: #fff;
}

.table_orders th {
    font-weight: bold;
    font-size: 14px;
}

/* LINHAS */
.table_orders tbody tr {
    border-bottom: 1px solid #e5f5f4;
}

.table_orders tbody tr:hover {
    background: #89DFD6;           /* Azul Suave */
    color: #003c41;
    transition: 0.2s;
}

/* BOTÕES */
.btn_small {
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 12px;
    color: #fff !important;
    display: inline-block;
}

/* VER */
.btn_blue {
    background: #02AAB5;            /* Primária */
}
.btn_blue:hover {
    background: #086972;
}

/* AVALIAR */
.btn_green {
    background: #086972;            /* Secundária */
}
.btn_green:hover {
    background: #064f56;
}

/* AÇÕES */
.actions_col {
    white-space: nowrap;
}

/* ============================
   MOBILE RESPONSIVO
   ============================ */

@media (max-width: 768px) {

    .table_orders {
        min-width: 100%;
    }

    .table_orders thead {
        display: none;
    }

    .table_orders tr {
        display: block;
        margin-bottom: 12px;
        background: white;
        padding: 12px;
        border-radius: 10px;
        border: 1px solid #d8f4f1;
    }

    .table_orders td {
        display: block;
        padding: 8px 0;
    }

    .table_orders td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #086972;
        display: block;
        margin-bottom: 4px;
        font-size: 13px;
    }

    /* Labels */
    .table_orders td:nth-child(1)::before { content: "Pedido"; }
    .table_orders td:nth-child(2)::before { content: "Serviço"; }
    .table_orders td:nth-child(3)::before { content: "Prestador"; }
    .table_orders td:nth-child(4)::before { content: "Data"; }
    .table_orders td:nth-child(5)::before { content: "Estado"; }
    .table_orders td:nth-child(6)::before { content: "Ações"; }

    .actions_col a {
        display: block;
        margin-bottom: 6px;
    }
}


/*TIKET*/
.ticket_messages { margin-top: 20px; }
.client_msg, .admin_msg {
    padding: 12px; 
    margin: 10px 0; 
    border-radius: 8px;
    max-width: 70%;
}
.client_msg {
    background: #D7EEFF;
    margin-left: auto;
}
.admin_msg {
    background: #EFEFEF;
    margin-right: auto;
}
.msg_author { font-weight: bold; margin-bottom: 5px; }
.msg_text { margin-bottom: 8px; }
.msg_time { font-size: 0.8em; color: #666; }


/*RAIOS PRESTRADOR REGISTER*/
.tipo-prestador-container {
    margin: 25px 0;
}

.titulo-radio {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.radio-card {
    display: block;
    background: #333;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 15px 18px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: .25s ease;
    position: relative;
}

.radio-card:hover {
    border-color: #00c2ff;
    background: #ffffff1a;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-card input:checked + .radio-content {
    border-left: 4px solid #00c2ff;
}

.radio-content {
    display: flex;
    flex-direction: column;
    color: #fff;
}

.radio-title {
    font-size: 17px;
    font-weight: 600;
}

.radio-desc {
    font-size: 13px;
    opacity: .7;
    margin-top: 3px;
}

/*MOBILE FIRST*/
.account_user_identity {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 18px;

   /*background: linear-gradient(135deg,#0f1115,#1b1f26);*/
    background: linear-gradient(135deg, #0d1b2a, #1b263b);

    border-radius: 10px;
    color: #ffffff;
}

.account_user_identity .user_avatar {
    border: 2px solid rgba(255,255,255,.35);
}

.account_user_identity .user_avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.6);
}

.account_user_identity .user_info strong {
    display: block;
    font-size: 16px;
}

.account_user_identity .user_info small {
    font-size: 13px;
    opacity: .9;
}
.account_header_mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 16px;
    background: #1f6fa8;
    color: #fff;
    border-radius: 8px;
}

.account_header_mobile .btn-back {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.account_header_mobile .page-title {
    font-size: 11px;
    font-weight: 500;
}
@media (max-width: 768px) {
    .quick_access_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/*PROFILE*/
.profile_resume {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    margin: 12px 0 20px;

    background: linear-gradient(135deg, #ffb347, #ff9f1a);
    color: #2c2c2c;

    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

.profile_resume_icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,.15);
    border-radius: 50%;

    font-weight: 900;
    font-size: 18px;
}

.profile_resume_content strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.profile_resume_content p {
    font-size: 13px;
    margin: 0 0 8px;
    line-height: 1.4;
}

.profile_resume_btn {
    display: inline-block;
    padding: 6px 12px;

    background: #2c2c2c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;

    border-radius: 6px;
}
/*BLOCOS NO HOME*/
/* ===== MOBILE FIRST ===== */

/* Sidebar escondido */
.workcontrol_account_sidebar {
    display: none;
}

/* Header mobile visível */
.account_header_mobile {
    display: flex;
}


/* ===== DESKTOP ===== */
@media (min-width: 992px) {

    .workcontrol_account_sidebar {
        display: block;
        width: 260px;
    }

    .account_box {
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 20px;
        align-items: start;
    }

    /* Header mobile não aparece no desktop */
    .account_header_mobile {
        display: none;
    }
}

/* =========================
   IDENTIDADE DO UTILIZADOR
   ========================= */

/* Desktop: esconder */
.account_user_identity {
    display: none;
}

/* Mobile: mostrar */
@media (max-width: 991px) {
    .account_user_identity {
        display: flex;
    }
}

/*SIDEBAR*/
.workcontrol_account_sidebar {
    width: 260px;
    padding: 0;
    background: linear-gradient(135deg, #3a9ec6 0%, #1b558e 100%);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
    overflow: hidden;
}

.workcontrol_account_sidebar header {
    padding: 24px 16px;
    text-align: center;
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.workcontrol_account_sidebar header img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.5);
    margin-bottom: 10px;
}

.workcontrol_account_sidebar header h1 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.workcontrol_account_sidebar header p {
    font-size: 13px;
    color: rgba(255,255,255,.85);
    margin: 0;
}
.workcontrol_account_sidebar header {
    padding: 24px 16px;
    text-align: center;
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.workcontrol_account_sidebar header img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.5);
    margin-bottom: 10px;
}

.workcontrol_account_sidebar header h1 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.workcontrol_account_sidebar header p {
    font-size: 13px;
    color: rgba(255,255,255,.85);
    margin: 0;
}
.workcontrol_account_sidebar_nav {
    padding: 12px;
    background: transparent;
}

.workcontrol_account_sidebar_nav li {
    list-style: none;
    margin-bottom: 8px;
}

.workcontrol_account_sidebar_nav li a {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 14px;
    border-radius: 8px;

    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;

    background: rgba(255,255,255,.08);
    transition: all .25s ease;
}
.wc_alert {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.bar_red {
    background: #e74c3c;
}

.bar_blue {
    background: #3498db;
}
@media (max-width: 991px) {
    .workcontrol_account_sidebar {
        display: none;
    }
}

.workcontrol_account_sidebar_nav li .logoff {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
}

.workcontrol_account_sidebar_nav li .logoff:hover {
    background: linear-gradient(135deg, #ff6b5a, #e74c3c);
}
.workcontrol_account_sidebar_nav li a:hover {
    background: rgba(255,255,255,.18);
    transform: translateX(4px);
}

.workcontrol_account_sidebar_nav li .active {
    background: #ffffff;
    color: #1b558e;
    cursor: default;
}

.workcontrol_account_sidebar_nav li .active:hover {
    transform: none;
}

/*Desktop: sidebar acompanha o scroll*/
@media (min-width: 992px) {

    .workcontrol_account_sidebar {
        position: sticky;
        top: 20px;
        align-self: flex-start;
        height: calc(100vh - 40px);
    }

}
.workcontrol_account_sidebar_nav .icon {
    width: 18px;
    text-align: center;
    font-size: 15px;
}

@media (min-width: 768px) and (max-width: 1199px) {

    .workcontrol_account_sidebar {
        width: 80px;
    }

    .workcontrol_account_sidebar header h1,
    .workcontrol_account_sidebar header p,
    .workcontrol_account_sidebar_nav li a span,
    .workcontrol_account_sidebar_nav li a .text {
        display: none;
    }

    .workcontrol_account_sidebar header img {
        width: 56px;
        height: 56px;
        margin-bottom: 0;
    }

    .workcontrol_account_sidebar_nav li a {
        justify-content: center;
        padding: 14px;
    }

}

.account_form_fields .field {
    display: block;
    margin-bottom: 18px;
}

.account_form_fields span {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.account_form_fields input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    font-size: 15px;
}

.account_form_fields input:focus {
    border-color: #00a8a8;
    outline: none;
}

.field_help {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

.btn_block {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.form_links {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.form_load {
    display: none; /* mostrar apenas durante o submit ajax */
}
.forgot_link {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    color: #777;
    text-decoration: none;
}

.forgot_link:hover {
    text-decoration: underline;
}

.account_form_secondary {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #555;
}

.account_form_secondary a.create {
    margin-left: 6px;
    font-weight: 600;
    color: #00a8a8;
    text-decoration: none;
}

.account_form_secondary a.create:hover {
    text-decoration: underline;
}
