/* Asigură că fiecare coloană are o dimensiune corespunzătoare */
#asp-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
    font-family: 'Open Sans', sans-serif;
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Stilizare pentru fiecare coloană */
.asp-col {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

/* Coloana 1: Canvas & Preț */
.asp-col-1 h2 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}
.asp-canvas-wrapper {
    border: 2px dashed #ddd;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    background: #fafafa;
    border-radius: 8px;
}
.asp-price {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
    text-align: center;
    margin: 10px 0 5px;
}
.asp-price-note {
    font-size: 14px;
    text-align: center;
    color: #777;
}

/* Coloana 2: Funcționalități */
.asp-col-2 h2 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}
.asp-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 10; /* Asigură că aceste elemente stau deasupra eventualelor suprapuneri */
}
.asp-control-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Stil pentru etichete */
.asp-control-group label {
    font-weight: 600;
    color: #555;
}

/* Stil pentru input-uri și select-uri */
.asp-control-group input[type="text"],
.asp-control-group input[type="number"],
.asp-control-group input[type="color"],
.asp-control-group input[type="file"],
.asp-control-group select {
    width: 100%;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 4px;
    transition: border-color 0.3s;
}
.asp-control-group input:focus,
.asp-control-group select:focus {
    border-color: #0073aa;
    outline: none;
}

/* Stil pentru butoane – le fac mai mari și cu zonă clic clară */
.asp-control-group button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    min-width: 120px;
    text-align: center;
    margin: 5px 0;
}
.asp-control-group button:hover {
    background: #005a87;
}

/* Coloana 3: Formular Cerere Ofertă */
.asp-col-3 h2 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}
#asp-offer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.asp-form-group {
    display: flex;
    flex-direction: column;
}
.asp-form-group label {
    font-weight: 600;
    margin-bottom: 4px;
}
.asp-form-group input[type="text"],
.asp-form-group input[type="email"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#aspSendOfferBtn {
    background: #27ae60;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
}
#aspSendOfferBtn:hover {
    background: #1e874b;
}
#asp-form-message {
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

@media (max-width: 768px) {
  #asp-container {
    flex-direction: column !important;
    gap: 15px !important;
    margin: 20px auto !important;
    max-width: 100% !important;
    padding: 10px !important;
  }

  .asp-col {
    width: 100% !important;
    padding: 15px !important;
    box-sizing: border-box !important;
  }

  .asp-canvas-wrapper {
        width: 100% !important;
    height: 20px !important;
    padding-bottom: 100% !important; /* dacă vrei să păstrezi un aspect ratio */
    position: relative !important;
  }
  
  .canvas-container{
      height: 50px;
  }

  #aspCanvas {
    width: 100% !important;
    height: auto !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
  }

  .asp-control-group input,
  .asp-control-group select,
  .asp-control-group button {
    font-size: 14px !important;
    padding: 6px !important;
  }

  .asp-col h2,
  .asp-col h3 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .asp-price {
    font-size: 18px !important;
  }

  .asp-price-note {
    font-size: 12px !important;
  }
}

