/* 
* Additional CSS for Multi Marcas Intranet
* Estilos específicos para componentes e páginas
* Atualizado com as cores institucionais do grupo
*/

/* Hero Section Variations */
.hero-section {
    background: linear-gradient(135deg, #0056b3 0%, #4a90e2 100%);
}

.hero-sistemas {
    background: linear-gradient(135deg, #0056b3 0%, #2541b8 100%);
}

/* Category Navigation */
.category-nav {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.category-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

.category-tabs li {
    padding: 15px 25px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
}

.category-tabs li:hover {
    color: #0056b3;
}

.category-tabs li.active {
    color: #0056b3;
}

.category-tabs li.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0056b3;
}

/* System Cards */
.system-card {
    display: block;
    text-decoration: none;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.system-card-inner {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.system-card:hover .system-card-inner {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.system-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.system-card-icon i {
    font-size: 22px;
    color: #fff;
}

.system-card-content {
    flex-grow: 1;
}

.system-card-content h4 {
    margin: 0 0 5px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.system-card-content p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.system-card-arrow {
    margin-left: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.system-card:hover .system-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.system-card-arrow i {
    color: #0056b3;
}

/* Icon Colors */
.system-card-icon.green {
    background-color: #0056b3;
}

.system-card-icon.blue {
    background-color: #0056b3;
}

.system-card-icon.red {
    background-color: #e63946;
}

.system-card-icon.yellow {
    background-color: #ffd166;
}

.system-card-icon.purple {
    background-color: #6f42c1;
}

.system-card-icon.orange {
    background-color: #fd7e14;
}

.system-card-icon.dark {
    background-color: #343a40;
}

.system-card-icon.teal {
    background-color: #0056b3;
}

/* Email Cards */
.email-cards .row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.email-cards .col-lg-4 {
    width: 33.333%;
    padding: 15px;
}

.email-cards .col-md-6 {
    width: 50%;
    padding: 15px;
}

.email-card {
    display: block;
    text-decoration: none;
    height: 100%;
}

.email-card-inner {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
}

.email-card:hover .email-card-inner {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.email-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.email-card-icon i {
    font-size: 24px;
    color: #fff;
}

.email-card-logo {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.email-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.email-card-content h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.email-card-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Filiais Cards */
.filiais-container .row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.filiais-container .col-lg-6 {
    width: 50%;
    padding: 15px;
}

.filiais-container .col-md-6 {
    width: 50%;
    padding: 15px;
}

.filial-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.filial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.filial-card-header {
    background-color: #0056b3;
    padding: 15px 20px;
    position: relative;
    overflow: hidden;
}

.filial-card-header:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-30deg) translateX(50%);
}

.filial-card-header h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.filial-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.filial-card-body p {
    margin: 0 0 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.filial-card-body p i {
    margin-right: 10px;
    color: #0056b3;
    font-size: 16px;
    margin-top: 3px;
}

.filial-card-body p:last-child {
    margin-bottom: 0;
}

.filial-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filial-card-footer a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filial-card-footer a:hover {
    color: #003d7a;
}

/* Distribuidores Cards */
.distribuidores-container .row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.distribuidores-container .col-lg-6 {
    width: 50%;
    padding: 15px;
}

.distribuidores-container .col-md-6 {
    width: 50%;
    padding: 15px;
}

.distribuidor-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.distribuidor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.distribuidor-card-header {
    background-color: #0056b3;
    padding: 15px 20px;
    position: relative;
    overflow: hidden;
}

.distribuidor-card-header:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-30deg) translateX(50%);
}

.distribuidor-card-header h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.distribuidor-card-header h4 {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.distribuidor-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.distribuidor-card-body p {
    margin: 0 0 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.distribuidor-card-body p i {
    margin-right: 10px;
    color: #0056b3;
    font-size: 16px;
    margin-top: 3px;
}

.distribuidor-card-body p:last-child {
    margin-bottom: 0;
}

.distribuidor-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.distribuidor-card-footer a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.distribuidor-card-footer a:hover {
    color: #003d7a;
}

/* Data Tables */
.data-table-wrapper {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead th {
    background-color: #0056b3;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.data-table tbody td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Notificações e Suporte */
.group-companies {
    padding: 40px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.group-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

.logo-item {
    max-width: 120px;
    max-height: 80px;
    transition: all 0.3s ease;
    filter: grayscale(30%);
}

.logo-item:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.notifications-section,
.support-section,
.quick-links-section {
    margin-bottom: 50px;
}

.notifications-container .row,
.support-options .row,
.quick-links .row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.notification-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.notification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.notification-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0056b3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 20px;
    color: #fff;
}

.notification-content {
    flex-grow: 1;
}

.notification-content h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.notification-content p {
    margin: 0 0 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.notification-date {
    display: block;
    color: #999;
    font-size: 12px;
}

.support-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.support-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0056b3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.support-icon i {
    font-size: 24px;
    color: #fff;
}

.support-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.support-content h3 {
    margin: 0 0 15px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.support-content p {
    margin: 0 0 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.support-contact {
    display: flex;
    align-items: center;
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    transition: all 0.3s ease;
}

.support-contact i {
    margin-right: 8px;
}

.support-contact:hover {
    color: #003d7a;
}

.support-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0056b3;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    margin-top: auto;
    transition: all 0.3s ease;
}

.support-button:hover {
    background-color: #003d7a;
}

.quick-link-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background-color: #0056b3;
}

.quick-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.quick-link-icon i {
    font-size: 18px;
    color: #0056b3;
    transition: all 0.3s ease;
}

.quick-link-content h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
    background-color: #fff;
}

.quick-link-card:hover .quick-link-content h4 {
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .email-cards .col-lg-4 {
        width: 50%;
    }
    
    .systems-grid .col-lg-3 {
        width: 33.333%;
    }
}

@media (max-width: 992px) {
    .systems-grid .col-lg-3 {
        width: 50%;
    }
    
    .support-section .col-lg-4 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .quick-links-section .col-lg-3 {
        width: 50%;
    }
    
    .group-logos {
        gap: 20px;
    }
    
    .logo-item {
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .email-cards .col-lg-4,
    .email-cards .col-md-6,
    .filiais-container .col-lg-6,
    .filiais-container .col-md-6,
    .distribuidores-container .col-lg-6,
    .distribuidores-container .col-md-6,
    .systems-grid .col-lg-3,
    .systems-grid .col-md-4,
    .quick-links-section .col-lg-3,
    .quick-links-section .col-md-4 {
        width: 100%;
    }
    
    .category-tabs li {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .data-table thead th,
    .data-table tbody td {
        padding: 10px;
        font-size: 13px;
    }
    
    .data-table-wrapper {
        overflow-x: auto;
    }
    
    .data-table {
        min-width: 600px;
    }
    
    .group-logos {
        gap: 15px;
    }
    
    .logo-item {
        max-width: 80px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .notification-card,
    .support-card,
    .quick-link-card {
        padding: 15px;
    }
    
    .notification-icon,
    .quick-link-icon {
        width: 40px;
        height: 40px;
    }
    
    .notification-icon i,
    .quick-link-icon i {
        font-size: 16px;
    }
    
    .notification-content h3,
    .quick-link-content h4 {
        font-size: 15px;
    }
    
    .notification-content p {
        font-size: 13px;
    }
    
    .support-icon {
        width: 50px;
        height: 50px;
    }
    
    .support-icon i {
        font-size: 20px;
    }
    
    .support-content h3 {
        font-size: 16px;
    }
    
    .support-button {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .group-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .logo-item {
        max-width: 70px;
        margin: 5px;
    }
}
