/**
 * Sistema de Gestão de Eventos - Estilos Principais
 * Arquivo CSS principal que centraliza todos os estilos do sistema
 * Baseado no Material Design Lite com cores personalizadas (Teal + Orange)
 */

/* ==========================================================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'Helvetica', sans-serif;
  background-color: #f5f5f5;
}

nav { 
	background-color: unset !important;
	box-shadow: unset !important;
}

/* ==========================================================================
   VARIÁVEIS CSS - CORES DO SISTEMA
   ========================================================================== */

:root {
  /* Cores primárias */
  --primary-color: #009688;        /* Teal */
  --primary-dark: #00695c;         /* Teal escuro */
  --primary-light: #e0f2f1;        /* Teal claro */
  
  /* Cores secundárias */
  --secondary-color: #FF9800;      /* Orange */
  --secondary-dark: #F57C00;       /* Orange escuro */
  --secondary-light: #FFE0B2;      /* Orange claro */
  
  /* Cores neutras */
  --text-primary: #212121;
  --text-secondary: #757575;
  --divider-color: #e0e0e0;
  --background-white: #ffffff;
  --background-light: #f5f5f5;
  
  /* Estados */
  --success-color: #4CAF50;
  --error-color: #f44336;
  --warning-color: #FF9800;
  --info-color: #2196F3;
  
  /* Sombras */
  --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 8px rgba(0,0,0,0.2);
  --shadow-heavy: 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12), 0 5px 5px -3px rgba(0, 0, 0, .2);
}

/* ==========================================================================
   PÁGINA DE LOGIN
   ========================================================================== */

body.login-page {
  background-color: black;
}

body.login-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/bg1.jpeg');
  background-size: cover;
  background-position: center;
  filter: blur(10px) grayscale(0.85);
  z-index: -1;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  height: 100vh;
}

.login-box {
  width: 320px;
  padding: 40px;
  background-color: var(--background-white);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.logo-image {
  max-width: 150px;
  height: auto;
}

/* ==========================================================================
   HEADER / BARRA SUPERIOR
   ========================================================================== */

.mdl-layout__header {
  background-color: var(--primary-color) !important;
}

.header-border {
  height: 10px;
  background-color: var(--primary-dark);
  width: 100%;
}

.header-logo {
  height: 40px;
  margin-right: 20px;
}

.logout-button,
.back-button {
  color: white !important;
  margin-right: 20px;
}

/* ==========================================================================
   LAYOUT PRINCIPAL
   ========================================================================== */

.main-container {
  display: flex;
  height: calc(100vh - 74px); /* Altura total - header (64px) + friso (10px) */
}

.side-menu {
  width: 240px;
  background-color: var(--background-white);
  border-right: 1px solid var(--divider-color);
  overflow-y: auto;
}

.content-area {
  flex: 1;
  overflow-y: auto;
}

/* ==========================================================================
   MENU LATERAL
   ========================================================================== */

.side-nav {
  padding: 8px 0;
}

.side-nav-link {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.side-nav-link:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.side-nav-link i {
  margin-right: 16px;
}

.side-nav-link.active {
	background-color: var(--primary-light);
	color: var(--primary-color);
}

.side-nav-divider {
  height: 1px;
  background-color: var(--divider-color);
  margin: 8px 0;
}

/* ==========================================================================
   CONTEÚDO PRINCIPAL
   ========================================================================== */

.page-content {
  padding: 24px;
}

.section-title {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin: 16px 0 8px 16px;
  text-transform: uppercase;
}

/* ==========================================================================
   eventos
   ========================================================================== */

   table { font-size: 13px; }
	
   table td:last-child, table th:last-child {
	   display: table-cell;
   }

   thead th {
   background-color: #009688;
   color: white !important;
   }

   thead th:hover {
	   color: rgba(0,0,0,.54) !important;
   }

   .search-container {
	   position: relative;
	   min-width: 300px;
	   margin-bottom: 20px;
   }

   .search-input {
	   width: 100%;
	   padding: 10px 40px 10px 16px;
	   border: 2px solid #ddd;
	   border-radius: 25px;
	   font-size: 14px;
	   outline: none;
	   transition: border-color 0.3s;
   }

   .search-input:focus {
	   border-color: #009688;
   }

   .search-icon {
	   position: absolute;
	   right: 12px;
	   top: 65%;
	   transform: translateY(-50%);
	   color: #666;
	   pointer-events: none;
   }

   .clear-search {
	   position: absolute;
	   right: 40px;
	   top: 50%;
	   transform: translateY(-50%);
	   background: none;
	   border: none;
	   color: #999;
	   cursor: pointer;
	   font-size: 18px;
	   display: none;
   }

   .clear-search:hover {
	   color: #666;
   }

   .no-results {
	   text-align: center;
	   padding: 40px;
	   color: #666;
	   font-style: italic;
   }

   .results-count {
	   color: #666;
	   font-size: 14px;
	   margin-bottom: 10px;
   }

   .table-container {
	   overflow-x: auto;
	   margin-bottom: 20px;
   }

   .eventos-table {
	   width: 100%;
	   background-color: #fff;
   }

   .sortable {
	   cursor: pointer;
	   user-select: none;
	   position: relative;
	   padding-right: 20px;
   }

   .sortable:hover {
	   background-color: #f5f5f5;
   }

   .sort-arrow {
	   position: absolute;
	   right: 5px;
	   opacity: 0.5;
	   font-size: 12px;
   }

   .sort-arrow.active {
	   opacity: 1;
	   color: #009688;
   }

   .actions-container {
	   display: flex;
	   justify-content: space-between;
	   align-items: center;
	   margin-top: 20px;
   }

   .export-buttons {
	   display: flex;
	   gap: 10px;
   }

   .btnBack {
	   background-color: #009688;
	   color: white;
	   padding: 10px 20px;
	   text-decoration: none;
	   border-radius: 4px;
	   display: inline-block;
	   margin-right: 10px;
	   font-size: 14px;
	   transition: background-color 0.3s;
   }

   .btnBack:hover {
	   background-color: #00695c;
	   text-decoration: none;
   }

   .status-badge {
	   padding: 4px 8px;
	   border-radius: 4px;
	   font-size: 12px;
	   font-weight: 500;
   }

   .status-ativo {
	   background-color: #e8f5e9;
	   color: #2e7d32;
   }

   .status-inativo {
	   background-color: #ffebee;
	   color: #c62828;
   }

   .status-pendente {
	   background-color: #fff3e0;
	   color: #e65100;
   }

   .status-concluido {
	   background-color: #e3f2fd;
	   color: #1565c0;
   }

   .banner {
	   padding: 16px;
	   margin-bottom: 20px;
	   border-radius: 4px;
	   display: flex;
	   align-items: flex-start;
	   box-shadow: 0 2px 4px rgba(0,0,0,0.1);
   }

   .banner-info {
	   background-color: #e3f2fd;
	   border-left: 4px solid #2196f3;
   }

   .banner-success {
	   background-color: #e8f5e9;
	   border-left: 4px solid #4caf50;
   }

   .banner-icon {
	   margin-right: 12px;
	   color: #2196f3;
   }

   .banner-content {
	   flex: 1;
   }

   .banner-title {
	   font-weight: 500;
	   margin-bottom: 4px;
	   color: #1565c0;
   }

   .banner-message {
	   margin: 0;
	   color: #424242;
   }

   @media (max-width: 768px) {
	   .search-container {
		   min-width: 100%;
	   }

	   .actions-container {
		   flex-direction: column;
		   align-items: stretch;
	   }

	   .export-buttons {
		   margin-bottom: 10px;
		   justify-content: center;
	   }

	   table {
		   font-size: 12px;
	   }
   }

   /* Estilos para radio buttons */
	.radio-group {
		padding: 10px 0;
	}

	.radio-group p {
		margin: 8px 0;
	}

	.radio-group label {
		color: var(--text-primary);
		font-size: 14px;
		cursor: pointer;
		display: flex;
		align-items: flex-start;
		line-height: 1.4;
	}

	.radio-group input[type="radio"] {
		margin-right: 10px;
		margin-top: 2px;
	}

	.radio-group span {
		flex: 1;
		padding-left: 5px;
	}

	/* Indicação visual de erro para radio buttons */
	.invalid-radio-group {
		border: 1px solid #f44336;
		border-radius: 4px;
		padding: 10px;
		background-color: rgba(244, 67, 54, 0.05);
	}

	.invalid-radio-group label {
		color: #f44336;
	}

	/* Estilo para label obrigatório */
	.required-field::after {
		content: " *";
		color: #f44336;
	}

	/* Melhorar espaçamento dos cards */
	.mdl-card {
		border-radius: 8px;
	}

	.mdl-card__title-text {
		font-size: 1.2em;
		color: var(--primary-color);
	}

	/* Responsividade para radio buttons */
	@media (max-width: 600px) {
		.radio-group label {
			font-size: 13px;
		}
		
		.radio-group span {
			padding-left: 3px;
		}
	}

	.invalid-radio-group {
		border-left: 3px solid #f44336;
		padding-left: 10px;
		background-color: #ffebee;
	}
	
	.banner-error {
		background-color: #ffebee;
		border-left: 4px solid #f44336;
	}
	
	.banner-error .banner-icon {
		color: #f44336;
	}
	
	.banner-error .banner-title {
		color: #c62828;
	}


/* ==========================================================================
   CARDS / MÓDULOS
   ========================================================================== */

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.module-card {
  width: 230px;
  height: 180px;
  cursor: pointer;
  transition: all 0.3s;
  background-color: var(--background-white);
}

.module-card:hover {
  box-shadow: var(--shadow-heavy);
  transform: translateY(-4px);
}

.module-card__icon {
  font-size: 60px;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 16px;
}

.mdl-card__actions {
  display: flex;
  justify-content: flex-end;
}

.mdl-card__supporting-text {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ==========================================================================
   CUSTOMIZAÇÕES DO MATERIAL DESIGN LITE
   ========================================================================== */

/* Campos de texto */
.mdl-textfield__label {
  color: rgba(0, 0, 0, 0.5) !important;
}

.mdl-textfield__label:after {
  background-color: var(--secondary-color) !important;
}

.mdl-textfield__input {
  border-bottom-color: rgba(0, 0, 0, 0.12) !important;
}

.mdl-textfield--floating-label.is-focused .mdl-textfield__label, 
.mdl-textfield--floating-label.is-dirty .mdl-textfield__label {
  color: var(--secondary-color) !important;
}

/* Botões */
.mdl-button--primary {
  background-color: var(--primary-color) !important;
}

.mdl-button--colored {
  color: var(--primary-color) !important;
}

/* Links */
a {
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SCANNER QR CODE
   ========================================================================== */

.scanner-container {
  padding: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.scanner-section {
  text-align: center;
  margin-bottom: 32px;
}

.camera-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

#qr-video {
  width: 100%;
  height: auto;
  display: block;
}

.scanner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  pointer-events: none;
}

.scanner-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border: 2px solid var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 0 0 1000px rgba(0,0,0,0.3);
}

.controls-section {
  margin: 24px 0;
}

.control-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.status-section {
  background: var(--background-white);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  box-shadow: var(--shadow-light);
}

.status-message {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.status-success {
  color: var(--success-color);
}

.status-error {
  color: var(--error-color);
}

.status-info {
  color: var(--info-color);
}

.user-info {
  background: #e8f5e8;
  border-left: 4px solid var(--success-color);
  padding: 16px;
  margin: 16px 0;
  border-radius: 4px;
}

.user-info h4 {
  margin: 0 0 8px 0;
  color: #2e7d32;
}

.user-detail {
  margin: 4px 0;
  color: #424242;
}

.history-section {
  margin-top: 32px;
}

.scan-history {
  background: var(--background-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.history-item {
  padding: 16px;
  border-bottom: 1px solid var(--divider-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-item:last-child {
  border-bottom: none;
}

.history-time {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==========================================================================
   UTILITÁRIOS
   ========================================================================== */

.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-16 {
  margin-top: 16px;
}

.mb-16 {
  margin-bottom: 16px;
}

.p-16 {
  padding: 16px;
}

.p-24 {
  padding: 24px;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 768px) {
  .side-menu {
    width: 200px;
  }
  
  .module-card {
    width: 100%;
    max-width: 300px;
  }
  
  .card-container {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .main-container {
    flex-direction: column;
  }
  
  .side-menu {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--divider-color);
  }
  
  .side-nav {
    display: flex;
    overflow-x: auto;
    padding: 0;
  }
  
  .side-nav-link {
    white-space: nowrap;
    min-width: 120px;
    justify-content: center;
  }
  
  .scanner-container {
    padding: 16px;
  }
  
  .control-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .mdl-button {
    width: 200px;
  }
  
  .login-container {
    padding: 10px;
  }
  
  .login-box {
    width: 100%;
    max-width: 320px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-content {
    padding: 16px;
  }
  
  .scanner-frame {
    width: 150px;
    height: 150px;
  }
  
  .module-card {
    height: 160px;
  }
  
  .module-card__icon {
    font-size: 48px;
  }
}

/* ==========================================================================
   PROCESSAMENTO EM MASSA - ESTILOS ESPECÍFICOS
   ========================================================================== */

/* Área de upload de arquivo */
.upload-area {
	border: 2px dashed var(--divider-color);
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	transition: all 0.3s ease;
	background-color: var(--background-light);
 }
 
 .upload-area:hover {
	border-color: var(--primary-color);
	background-color: var(--primary-light);
 }
 
 .upload-area.dragover {
	border-color: var(--primary-color);
	background-color: var(--primary-light);
	transform: scale(1.02);
 }
 
 /* Área de progresso */
 .progress-area {
	background: var(--background-white);
	border-radius: 8px;
	padding: 20px;
	margin: 20px 0;
	box-shadow: var(--shadow-light);
	border-left: 4px solid var(--primary-color);
 }
 
 .progress {
	background-color: #e0e0e0;
	border-radius: 4px;
	height: 4px;
	margin: 10px 0;
	overflow: hidden;
 }
 
 .progress .determinate {
	background-color: var(--primary-color);
	height: 100%;
	transition: width 0.3s ease;
 }
 
 /* Status badges específicos para processamento */
 .status-pendente {
	background-color: #fff3e0;
	color: #e65100;
 }
 
 .status-em_andamento {
	background-color: #e3f2fd;
	color: #1565c0;
 }
 
 .status-concluido {
	background-color: #e8f5e9;
	color: #2e7d32;
 }
 
 .status-com_erro {
	background-color: #ffebee;
	color: #c62828;
 }
 
 /* Cards de estatísticas */
 .stats-card {
	background: var(--background-white);
	border-radius: 8px;
	padding: 20px;
	margin: 10px 0;
	box-shadow: var(--shadow-light);
	text-align: center;
 }
 
 .stats-card .stat-number {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 8px;
 }
 
 .stats-card .stat-label {
	color: var(--text-secondary);
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
 }
 
 .stats-card.success .stat-number {
	color: var(--success-color);
 }
 
 .stats-card.error .stat-number {
	color: var(--error-color);
 }
 
 .stats-card.warning .stat-number {
	color: var(--warning-color);
 }
 
 .stats-card.info .stat-number {
	color: var(--info-color);
 }
 
 /* Tabela de erros */
 .error-table-container {
	max-height: 400px;
	overflow-y: auto;
	border: 1px solid var(--divider-color);
	border-radius: 4px;
 }
 
 .error-table {
	width: 100%;
	font-size: 12px;
 }
 
 .error-table th {
	background-color: var(--primary-color);
	color: white;
	position: sticky;
	top: 0;
	z-index: 10;
 }
 
 .error-table td {
	padding: 8px;
	border-bottom: 1px solid var(--divider-color);
	word-wrap: break-word;
	max-width: 200px;
 }
 
 .error-table .linha-numero {
	font-weight: bold;
	text-align: center;
	width: 60px;
 }
 
 .error-table .campo-erro {
	background-color: #fff3e0;
	color: #e65100;
	font-weight: 500;
 }
 
 .error-table .entidade-erro {
	background-color: #e3f2fd;
	color: #1565c0;
	font-weight: 500;
 }
 
 /* Instruções de upload */
 .upload-instructions {
	background: var(--background-white);
	border-radius: 8px;
	padding: 20px;
	margin: 20px 0;
	border-left: 4px solid var(--info-color);
 }
 
 .upload-instructions h6 {
	color: var(--info-color);
	margin-bottom: 15px;
	font-weight: 500;
 }
 
 .upload-instructions ul {
	margin: 0;
	padding-left: 20px;
 }
 
 .upload-instructions li {
	margin-bottom: 8px;
	color: var(--text-primary);
 }
 
 .upload-instructions .highlight {
	background-color: #fff3e0;
	padding: 2px 6px;
	border-radius: 3px;
	font-weight: 500;
 }
 
 /* Botões de ação */
 .action-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 20px 0;
 }
 
 .btn-download-modelo {
	background-color: var(--secondary-color);
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 4px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background-color 0.3s;
 }
 
 .btn-download-modelo:hover {
	background-color: var(--secondary-dark);
	text-decoration: none;
	color: white;
 }
 
 .btn-download-erros {
	background-color: var(--error-color);
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 4px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background-color 0.3s;
 }
 
 .btn-download-erros:hover {
	background-color: #d32f2f;
	text-decoration: none;
	color: white;
 }
 
 /* Alertas e notificações */
 .alert {
	padding: 16px;
	margin: 16px 0;
	border-radius: 4px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
 }
 
 .alert.alert-info {
	background-color: #e3f2fd;
	border-left: 4px solid var(--info-color);
	color: #1565c0;
 }
 
 .alert.alert-warning {
	background-color: #fff3e0;
	border-left: 4px solid var(--warning-color);
	color: #e65100;
 }
 
 .alert.alert-success {
	background-color: #e8f5e9;
	border-left: 4px solid var(--success-color);
	color: #2e7d32;
 }
 
 .alert.alert-error {
	background-color: #ffebee;
	border-left: 4px solid var(--error-color);
	color: #c62828;
 }
 
 .alert .alert-icon {
	font-size: 20px;
	margin-top: 2px;
 }
 
 .alert .alert-content {
	flex: 1;
 }
 
 .alert .alert-title {
	font-weight: 500;
	margin-bottom: 4px;
 }
 
 .alert .alert-message {
	margin: 0;
	font-size: 14px;
 }
 
 /* Responsividade para processamento em massa */
 @media (max-width: 768px) {
	.upload-area {
	   padding: 20px;
	}
	
	.stats-card .stat-number {
	   font-size: 2rem;
	}
	
	.action-buttons {
	   flex-direction: column;
	}
	
	.btn-download-modelo,
	.btn-download-erros {
	   width: 100%;
	   justify-content: center;
	}
	
	.error-table {
	   font-size: 11px;
	}
	
	.error-table td {
	   padding: 6px;
	   max-width: 150px;
	}
 }
 
 @media (max-width: 600px) {
	.upload-instructions {
	   padding: 15px;
	}
	
	.progress-area {
	   padding: 15px;
	}
	
	.stats-card {
	   padding: 15px;
	}
	
	.error-table-container {
	   max-height: 300px;
	}
 }

 /* ===== ESTILOS ADICIONAIS PARA INSCRIÇÃO EM MASSA ===== */
/* Adicionar ao arquivo style.css existente */

/* Status badges específicos para processamento */
.status-pendente {
    background-color: #fff3e0;
    color: #e65100;
}

.status-em-andamento {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-concluido {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-com-erro {
    background-color: #ffebee;
    color: #c62828;
}

.status-cancelado {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

/* Upload area styles */
.upload-area {
    border: 2px dashed #009688;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #00695c;
    background-color: #e0f2f1;
}

.upload-area.dragover {
    border-color: #4caf50;
    background-color: #e8f5e9;
}

/* Actions column */
.actions-cell {
    white-space: nowrap;
    width: 120px;
}

.actions-cell .mdl-button {
    min-width: 36px;
    margin: 0 2px;
}

/* File input styling */
input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

/* Progress indicators */
.progress-container {
    margin: 10px 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #009688;
    transition: width 0.3s ease;
}

/* Instruction list styling */
.instruction-list {
    padding-left: 20px;
    margin: 15px 0;
}

.instruction-list li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* ===== ESTILOS ADICIONAIS PARA INSCRIÇÃO EM MASSA ===== */
/* Adicionar ao arquivo style.css existente */

/* Status badges específicos para processamento */
.status-pendente {
    background-color: #fff3e0;
    color: #e65100;
}

.status-em-andamento {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-concluido {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-com-erro {
    background-color: #ffebee;
    color: #c62828;
}

.status-cancelado {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

/* Upload area styles */
.upload-area {
    border: 2px dashed #009688;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #00695c;
    background-color: #e0f2f1;
}

.upload-area.dragover {
    border-color: #4caf50;
    background-color: #e8f5e9;
}

/* Actions column */
.actions-cell {
    white-space: nowrap;
    width: 120px;
}

.actions-cell .mdl-button {
    min-width: 36px;
    margin: 0 2px;
}

/* File input styling */
input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

/* Progress indicators */
.progress-container {
    margin: 10px 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #009688;
    transition: width 0.3s ease;
}

/* Instruction list styling */
.instruction-list {
    padding-left: 20px;
    margin: 15px 0;
}

.instruction-list li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Banner enhancements */
.banner-info .banner-icon {
    color: #2196f3;
}

.banner-success .banner-icon {
    color: #4caf50;
}

/* Card enhancements for upload section */
.upload-card {
    max-width: 100%;
    margin-bottom: 20px;
}

.instructions-card {
    max-width: 100%;
    margin-bottom: 20px;
}

/* File info display */
.file-info {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    font-size: 14px;
}

.file-info .file-name {
    font-weight: bold;
    color: #009688;
}

.file-info .file-size {
    color: #666;
    font-size: 12px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading .mdl-button {
    cursor: wait;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .actions-cell {
        width: auto;
    }
    
    .actions-cell .mdl-button {
        display: block;
        margin: 2px 0;
        width: 100%;
    }
    
    .upload-area {
        padding: 20px;
    }
    
    .mdl-card__supporting-text ol {
        padding-left: 15px;
    }
}

/* Enhanced table styling */
.processamentos-table {
    width: 100%;
    background-color: #fff;
}

.processamentos-table thead th {
    background-color: #009688;
    color: white !important;
    font-weight: 500;
}

.processamentos-table tbody tr:hover {
    background-color: #f5f5f5;
}

/* Status column width */
.processamentos-table td:nth-child(3),
.processamentos-table th:nth-child(3) {
    width: 120px;
}

/* Numbers alignment */
.processamentos-table td:nth-child(4),
.processamentos-table td:nth-child(5),
.processamentos-table th:nth-child(4),
.processamentos-table th:nth-child(5) {
    text-align: right;
    width: 100px;
}

/* Link styling for evento names */
.evento-link {
    color: #009688;
    text-decoration: none;
    font-weight: 500;
}

.evento-link:hover {
    color: #00695c;
    text-decoration: underline;
}

/* Form validation states */
.invalid-file {
    border-color: #f44336 !important;
    background-color: #ffebee !important;
}

.valid-file {
    border-color: #4caf50 !important;
    background-color: #e8f5e9 !important;
}

/* Toast enhancements */
.toast-success {
    background-color: #4caf50 !important;
}

.toast-error {
    background-color: #f44336 !important;
}

/* Subtitle styling */
.event-subtitle {
    color: #009688;
    margin-top: 5px;
    margin-bottom: 20px;
    font-weight: 400;
}

.event-subtitle .material-icons {
    vertical-align: middle;
    margin-right: 8px;
}

/* Back button styling */
.back-button {
    margin-left: 20px;
    background-color: #757575 !important;
}

.back-button:hover {
    background-color: #616161 !important;
}

/* Download button styling */
.download-button {
    background-color: #FF9800 !important;
    width: 100%;
    margin-bottom: 10px;
}

.download-button:hover {
    background-color: #F57C00 !important;
}

/* Helper text styling */
.helper-info {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Card title icons */
.mdl-card__title .material-icons {
    vertical-align: middle;
    margin-right: 8px;
}

/* Upload form enhancements */
#uploadForm .mdl-button--disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Search container specific to this page */
.inscricao-massa .search-container {
    margin-bottom: 20px;
}

/* Table container for better scrolling */
.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

.empty-state .material-icons {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
}

/* Confirmation dialog styling */
.confirm-dialog {
    padding: 20px;
    text-align: center;
}

.confirm-dialog .material-icons {
    font-size: 48px;
    color: #FF9800;
    margin-bottom: 16px;
}


.new-reading {
	margin: 20px 0;
	padding: 20px;
	text-align: center;
	background-color: #f5f5f5;
}