
.shortcut-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.shortcut-button {
    background-color: #242526; 
    background: linear-gradient(145deg, #242526, rgba(255,255,255,0.02));
    padding: 25px 15px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    min-height: 90px;
    border: 1px solid #3e4042; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

    .shortcut-button:hover {
        background-color: #3a3b3c; 
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .shortcut-button:active {
        transform: translateY(-1px) scale(0.98);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .shortcut-button i {
        font-size: 1.8rem;
        color: #b0b3b8; 
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .shortcut-button:hover i {
        color: white; 
        transform: scale(1.1);
    }

    .shortcut-button span {
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        opacity: 0.9;
    }


.config-option {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

    .config-option h4 {
        margin-top: 0;
        font-size: 1.5rem;
        color: #ffffff; 
        padding-bottom: 15px;
    }

    .config-option p {
        color: #b0b3b8; 
        font-size: 0.9rem;
        padding-bottom: 17px;
    }

    .config-option strong {
        color: #2d88ff; 
    }


.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745; 
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    z-index: 1050;
    opacity: 0;
    transition: opacity .3s, bottom .3s;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

    .toast-notification.show {
        opacity: 1;
        bottom: 30px;
    }

    .toast-notification.error {
        background-color: #dc3545;
    }


.logout-button {
    background-color: #c53030;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
}

    .logout-button:hover {
        background-color: #e53e3e;
    }

    .logout-button i {
        font-size: 1.1rem;
    }

.delete-account-button {
    background-color: #9b2c2c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
}

    .delete-account-button:hover {
        background-color: #c53030;
    }


.config-container {
    background: #242526;
    border-radius: 12px;
}

.modal-submit-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #2d88ff; 
    color: white;
    font-weight: 500;
}


.policy-link-section {
    margin-top: 30px;
    margin-bottom: 20px;
}

.policy-links-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.policy-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    gap: 8px;
    padding: 15px 10px;
    background-color: #242526; 
    border-radius: 8px;
    transition: background-color .2s, transform .1s, box-shadow .2s;
    text-decoration: none;
    color: #ffffff; 
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #3e4042; 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

    .policy-link:hover {
        background-color: #3a3b3c; 
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .policy-link i {
        font-size: 1.3rem;
        width: auto;
    }


.ticket-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: #e4e6eb;
    font-size: 0.95rem;
}

    .ticket-table th {
        padding: 15px 10px;
        text-align: left;
        border-bottom: 2px solid #3e4042;
        color: #b0b3b8;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .ticket-table td {
        padding: 15px 10px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        vertical-align: middle;
    }


.password-reqs {
    margin-top: 10px;
    margin-bottom: 15px;
    background: rgba(0,0,0,0.1);
    padding: 10px;
    border-radius: 5px;
    font-size: 0.85rem;
}

.req-item {
    margin-bottom: 5px;
    color: #888;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .req-item i {
        font-size: 0.7rem;
    }

    .req-item.valid {
        color: #48BB78;
        font-weight: 600;
    }

        .req-item.valid i:before {
            content: "\f058";
        }

    .req-item i:before {
        content: "\f111";
    }


.chat-history-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 350px;
    overflow-y: auto;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
}

    .chat-bubble.me {
        align-self: flex-end;
        background-color: #3498db;
        color: white;
        border-bottom-right-radius: 2px;
    }

    .chat-bubble.support {
        align-self: flex-start;
        background-color: #3a3b3c;
        color: #e4e6eb;
        border-bottom-left-radius: 2px;
    }

.chat-meta {
    font-size: 0.7rem;
    margin-top: 4px;
    opacity: 0.7;
    text-align: right;
    display: block;
}

.ticket-status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}


@media (max-width: 968px) {

    #tickets-container table thead,
    #tickets-container table thead tr {
        display: none !important;
    }


    #tickets-container table,
    #tickets-container table tbody,
    #tickets-container table tr,
    #tickets-container table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }


        #tickets-container table tr {
            background-color: #242526 !important;
            border: 1px solid #3e4042 !important;
            border-radius: 12px !important;
            margin-bottom: 20px !important;
            box-shadow: 0 4px 6px rgba(0,0,0,0.15) !important;
            padding: 15px !important;
        }

     
        #tickets-container table td {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            text-align: right !important;
            padding: 12px 0 !important;
            border-bottom: 1px solid rgba(255,255,255,0.05) !important;
            border-top: none !important;
            border-left: none !important;
            border-right: none !important;
            font-family: inherit !important; 
        }

            
            #tickets-container table td::before {
                font-weight: 700 !important;
                color: #b0b3b8 !important;
                text-align: left !important;
                margin-right: 15px !important;
                white-space: nowrap !important;
                font-size: 0.85rem !important;
                text-transform: uppercase !important;
            }

            
            #tickets-container table td:nth-child(1)::before {
                content: "ID" !important;
            }

            #tickets-container table td:nth-child(2)::before {
                content: "Assunto" !important;
            }

            #tickets-container table td:nth-child(3)::before {
                content: "Categoria" !important;
            }

            #tickets-container table td:nth-child(4)::before {
                content: "Status" !important;
            }

            #tickets-container table td:nth-child(5)::before {
                content: "Data" !important;
            }

          
            #tickets-container table td span,
            #tickets-container table td div {
                text-align: right !important;
                word-break: break-word !important;
                max-width: 65% !important;
            }

          
            #tickets-container table td:last-child {
                border-bottom: none !important;
                padding-top: 20px !important;
                padding-bottom: 5px !important;
                display: block !important;
                width: 100% !important;
            }

              
                #tickets-container table td:last-child::before {
                    display: none !important;
                }

              
                #tickets-container table td:last-child button {
                    width: 100% !important;
                    padding: 12px !important;
                    font-size: 1rem !important;
                    font-weight: 600 !important;
                    border-radius: 8px !important;
                    display: flex !important;
                    justify-content: center !important;
                    align-items: center !important;
                    gap: 8px !important;
                    background-color: #3498db !important; 
                    color: white !important; 
                    border: none !important; 
                }
}