* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f5f5f5;
            min-height: 100vh;
            color: #333;
        }

        nav {
            background: #fff;
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border-bottom: 3px solid #fc0;
        }

        .logo img {
            height: 60px;
            width: auto;
        }

        .nav-links {
            display: flex;
            gap: 1rem;
        }

        .nav-btn {
            background: #fff;
            border: 2px solid #fc0;
            color: #333;
            padding: 0.8rem 2rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .nav-btn:hover {
            background: #fc0;
            color: #333;
        }

        .nav-btn.active {
            background: #fc0;
            color: #333;
        }

        /* ===== NAV MOBILE ===== */
@media (max-width: 600px) {
  nav {
    display: flex;
    justify-content: center;
    padding: 1rem 1rem;
    gap: 0.8rem;
    flex-wrap: wrap; /* deixa quebrar linha */
  }

  .nav-links {
    width: 100%;
    gap: 0.4rem;            /* bem menor */
    flex-wrap: wrap;        /* quebra em 2 linhas se precisar */
    justify-content: center;
  }

  .nav-btn {
    padding: 0.45rem 0.7rem; /* bem menor */
    font-size: 0.82rem;      /* menor */
    border-radius: 7px;
    border-width: 2px;
    flex: 1;                 /* distribui espaço */
    min-width: 110px;        /* evita ficar minúsculo demais */
    text-align: center;
  }
}


        .page {
            display: none;
            padding: 3rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .page.active {
            display: block;
        }

        .page-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #333;
        }

        .page-subtitle {
            font-size: 1.2rem;
            margin-bottom: 3rem;
            color: #666;
        }

        .upload-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .upload-box {
            background: #fff;
            border: 3px dashed #fc0;
            border-radius: 12px;
            padding: 4rem 2rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-bottom: 2rem;
        }

        .upload-box:hover {
            background: #fffef0;
            border-color: #e6b800;
        }

        .upload-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            color: #fc0;
        }

        .upload-icon i {
            font-size: 4rem;
        }

        .upload-text {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .group-section { margin-top: 24px; }
        .group-title { margin: 12px 0; font-size: 20px; font-weight: 700; }

        .upload-hint {
            color: #888;
            font-size: 0.9rem;
        }

        input[type="file"] {
            display: none;
        }

        .selected-files {
            background: #fff;
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .selected-files h3 {
            margin-bottom: 1rem;
            color: #333;
        }

        .file-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .file-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem;
            background: #f9f9f9;
            border-radius: 8px;
            border-left: 4px solid #fc0;
        }

        .file-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .file-icon {
            font-size: 2rem;
            color: #fc0;
        }

        .file-details {
            display: flex;
            flex-direction: column;
        }

        .file-name {
            font-weight: 600;
            color: #333;
        }

        .file-size {
            font-size: 0.9rem;
            color: #888;
        }

        .remove-btn {
            background: #ff4444;
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .remove-btn:hover {
            background: #cc0000;
        }

        .submit-btn {
            width: 100%;
            background: #fc0;
            color: #333;
            border: none;
            padding: 1.2rem;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .submit-btn:hover:not(:disabled) {
            background: #e6b800;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
        }

        .submit-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }

        .status-grid {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }

        .cv-card {
            background: #fff;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            border-left: 5px solid #a18206;
            transition: all 0.2s ease;
            margin-bottom: 18px;
        }

        .cv-name{
            font-weight: 500;
        }

        .cv-icon{
            font-size: 45px;
        }

        .cv-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .cv-card h3 {
            margin-bottom: 1rem;
            color: #333;
            font-size: 1.2rem;
        }

        .cv-link {
            display: inline-block;
            color: #fc0;
            text-decoration: none;
            font-weight: 600;
            margin-top: 0.5rem;
            transition: all 0.2s ease;
        }

        .cv-link:hover {
            color: #e6b800;
        }

        .empty-state {
            text-align: center;
            padding: 4rem 2rem;
            color: #999;
            background: #fff;
            border-radius: 12px;
            grid-column: 1 / -1;
        }

        .empty-icon {
            font-size: 5rem;
            margin-bottom: 1rem;
            opacity: 0.3;
        }

        .empty-icon i {
            font-size: 5rem;
        }

        .notification {
            position: fixed;
            top: 100px;
            right: 2rem;
            background: #fc0;
            color: #333;
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            z-index: 2000;
        }

        .notification.error {
            background: #ff4444;
            color: white;
        }

        .notification.success {
            background: #4caf50;
            color: white;
        }

        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(0, 0, 0, 0.3);
            border-radius: 50%;
            border-top-color: #333;
            animation: spin 0.8s linear infinite;
            margin-left: 10px;
            vertical-align: middle;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }


/* ===== Accordion Pré-Aprovados ===== */
.accordion {
  background: #fff;
  border-radius: 12px;
  margin: 18px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 5px solid rgb(0, 0, 0);
  overflow: hidden;
}

.accordion-header {
  list-style: none;
  cursor: pointer;
  padding: 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

/* remove a setinha padrão do summary */
.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.accordion-title {
  font-size: 18px;
  font-weight: 800;
  color: #333;
}

.accordion-count {
  font-size: 14px;
  font-weight: 700;
  color: #666;
}

.accordion-body {
  padding: 18px 18px 0px 18px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* animação simples do ícone girando */
.accordion-icon {
  font-size: 22px;
  transition: transform 0.18s ease;
}

.accordion[open] .accordion-icon {
  transform: rotate(180deg);
}

/* deixa a grid mais “de leve” dentro do accordion */
.accordion .status-grid {
  gap: 1.2rem;
}
