/* Adicione aqui seu CSS customizado, caso queira */
body {
  font-family: 'Inter', sans-serif;
}
/* Estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #ECEFF1 0%, #CFD8DC 100%);
    color: #263238;
    line-height: 1.6;
    min-height: 100vh;
}

/* Estilos para a Tela de Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.login-box h1 {
    color: #1E88E5;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-form input, .login-form button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.login-form input {
    padding: 12px;
    border: 1px solid #B0BEC5;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: #1E88E5;
    box-shadow: 0 0 8px rgba(30, 136, 229, 0.2);
}

.login-form button {
    background: linear-gradient(135deg, #1E88E5, #42A5F5);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    height: auto;
    min-height: 48px;
    white-space: normal;
    line-height: 1.4;
}

.login-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

/* Estilos Gerais */
main {
    margin-left: 250px;
    padding: 20px;
    flex-grow: 1;
}

.sidebar {
    width: 250px;
    background: linear-gradient(180deg, #1E88E5, #1565C0);
    color: #fff;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s, padding-left 0.3s;
}

.sidebar-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 25px;
}

.sidebar-nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

h2, h3 {
    color: #263238;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
}

.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3 i {
    color: #1E88E5;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.agent-button {
    background: linear-gradient(135deg, #1E88E5, #42A5F5);
    color: #fff;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    max-width: 300px;
    width: 100%;
    height: auto;
    min-height: 60px;
    white-space: normal;
    line-height: 1.4;
    text-align: center;
}

.agent-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, select {
    padding: 12px;
    border: 1px solid #B0BEC5;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    max-width: 300px;
    width: 100%;
}

textarea {
    padding: 12px;
    border: 1px solid #B0BEC5;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    max-width: 500px;
    width: 100%;
    resize: vertical;
    min-height: 100px;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #1E88E5;
    box-shadow: 0 0 8px rgba(30, 136, 229, 0.2);
}

button, .link-button {
    background: linear-gradient(135deg, #1E88E5, #42A5F5);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    max-width: 250px;
    width: auto;
    height: auto;
    min-height: 48px;
    white-space: normal;
    line-height: 1.4;
    text-align: center;
}

button:hover, .link-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ECEFF1;
}

th {
    background: linear-gradient(135deg, #1E88E5, #42A5F5);
    color: #fff;
    font-weight: 500;
}

tr:hover {
    background-color: #F5F7FA;
}

.status-open {
    color: #FB8C00;
    font-weight: 500;
    background: #FFF3E0;
    padding: 5px 10px;
    border-radius: 6px;
}

.status-in_progress {
    color: #FDD835;
    font-weight: 500;
    background: #FFFDE7;
    padding: 5px 10px;
    border-radius: 6px;
}

.status-closed {
    color: #43A047;
    font-weight: 500;
    background: #E8F5E9;
    padding: 5px 10px;
    border-radius: 6px;
}

.error {
    color: #D32F2F;
    font-size: 14px;
    margin-bottom: 15px;
    background: #FFEBEE;
    padding: 10px;
    border-radius: 8px;
    max-width: 500px;
}

.success {
    color: #43A047;
    font-size: 14px;
    margin-bottom: 15px;
    background: #E8F5E9;
    padding: 10px;
    border-radius: 8px;
    max-width: 500px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start;
}

.filter-form input, .filter-form select {
    flex: 1;
    min-width: 150px;
    max-width: 250px;
}

.filter-form textarea {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.filter-form button {
    flex: 0 0 auto;
    max-width: 150px;
    min-height: 48px;
    height: auto;
    white-space: normal;
    line-height: 1.4;
}

/* Menu Hambúrguer para Mobile */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #1E88E5;
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

@media (max-width: 768px) {
    main {
        margin-left: 0;
    }
    .sidebar {
        transform: translateX(-100%);
        width: 200px;
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .menu-toggle {
        display: block;
    }
    .dashboard-grid {
        flex-direction: column;
        gap: 15px;
    }
    .card {
        max-width: 100%;
        margin: 0;
    }
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-form input, .filter-form select, .filter-form textarea, .filter-form button {
        max-width: 100%;
        width: 100%;
    }
    button, .link-button {
        max-width: 100%;
        width: 100%;
        min-height: 48px;
        height: auto;
        white-space: normal;
    }
    .agent-button {
        max-width: 100%;
        width: 100%;
        min-height: 60px;
        font-size: 16px;
        padding: 12px 20px;
    }
    .login-box {
        padding: 20px;
        max-width: 90%;
    }
    .login-form input, .login-form button {
        max-width: 100%;
    }
}