/* fusionpdf.css - style cohérent avec tes autres cartes */

/* gauche */
.op-fusion-card h2 {
  text-align: center;
  margin-bottom: 8px;
  font-family: "Inter", Sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: #2C3E50;
}

.op-mp-row{
  display: flex;
}

.op-fusion-card p{
    font-family: "Inter", Sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #4B5563;
}

.op-fusion-card p.op-note{
    font-family: "Inter", Sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #4B5563;
}


.op-fusion-card h3{
    font-family: "Inter", Sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #2C3E50;
}

.op-fusion-sub {
  color: #6b7280;
  margin-bottom: 16px;
}

/* zone upload */
.op-upload-box {
  cursor: pointer;
  padding: 17px;
  border-radius: 16px;
  border: none;
  font-size: 15px;
  background: #f3f4f6;
  border: 3px solid #f3f4f6;
  margin: 0 !important;
  outline: none;
}

.op-upload-box p{
  font-size: 13px;
}

.op-upload-box:hover {
    border: 3px solid #1CCDDB;
}

.op-upload-box p{
  margin: 0;
}

.op-upload-box input {
  display: none;
}

/* liste fichiers */
.op-file-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.op-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid #eef2f6;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.op-file-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.op-file-name {
  font-weight: 600;
  color: #111827;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.op-file-size {
  font-size: 13px;
  color: #6b7280;
}

.op-file-controls{
  min-width: 120px;
}

/* controls (up/down/remove) */
.op-file-controls button {
  background: #f1f5f9;
  border: none;
  padding: 2px 10px;
  border-radius: 8px;
  margin-left: 10px;
  cursor: pointer;
  color: black;
  font-size: 16px;
}

.op-file-controls button:hover {
  background: #ff7d58;
}

/* actions */
.op-fusion-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.op-btn {
  font-family: "Inter", Sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #4B5563;
  height: fit-content;
  border-radius: 50px;
      border: none;
}

.op-btn:hover, 
.op-btn:focus,
.op-file-controls button{
    background: #4B5563;
    color: white;
}



.op-btn.primary {
  background: linear-gradient(90deg, #ff7a59, #ffb24d);
  color: white;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(255, 122, 89, 0.14);
}

/* droite: preview */
.op-fusion-right h4 {
  margin-bottom: 10px;
}

.op-fusion-preview {
  background-color: #f3f4f6;
  display: flex;
  flex-direction: column;
  font-family: "Inter", Sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #4B5563;
  outline: none !important;
  width: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 16px;
  margin-bottom: 20px;
}

/* note */
.op-note {
  margin-top: 10px;
  color: #6b7280;
  font-size: 13px;
}

/* responsive */
@media (max-width:980px) {
  .op-fusion-card {
    grid-template-columns: 1fr;
  }

  .op-fusion-right {
    order: 2;
  }
}