@media (min-width: 1025px) {
    .h-custom {
    height: 100vh !important;
    }
    }

    hr {
      display: block;
      height: 1px;
      border: 0;
      border-top: 1px solid #f8f9fa;
      margin: 1em 0;
      padding: 0;
      }
      
      

    .card-registration .select-input.form-control[readonly]:not([disabled]) {
    font-size: 1rem;
    line-height: 2.15;
    padding-left: .75em;
    padding-right: .75em;
    }

    .card-registration .select-arrow {
    top: 13px;
    }

    /* .color-tile {
      width: 40px;
      height: 40px;
      margin: 5px;
      border-radius: 8px;
      border: 2px solid transparent;
      cursor: pointer;
      transition: transform 0.2s;
    }

    .color-tile:hover {
      transform: scale(1.1);
    } */
    .color-tile {
      width: 40px;
      height: 40px;
      margin: 5px;
      border-radius: 8px;
      overflow: hidden;
      display: flex;
      padding: 0;
      border: 2px solid transparent; /* optional: for selection border */
      cursor: pointer;
      transition: transform 0.2s;
    }
    
    .color-tile:hover {
      transform: scale(1.1);
    }
    
    .color-tile .color-part {
      height: 100%;
      flex-grow: 1;
      flex-basis: 0;
      margin: 0;
      padding: 0;
    }

    .tile-row {
      display: flex;
      gap: 4px; /* change this to control spacing between tiles */
      flex-wrap: wrap; /* optional: allow wrapping */
    }


    @media (min-width: 1025px) {
        .h-custom {
        height: 100vh !important;
        }
        }

        .card-registration .select-input.form-control[readonly]:not([disabled]) {
          font-size: 1rem;
          line-height: 2.15;
          padding-left: .75em;
          padding-right: .75em;
        }


        .success-message,
        .error-message {
          padding: 2rem;
          border-radius: 8px;
          text-align: center;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }
        .success-message {
          background-color: #1d1d1d; 
        }
        .success-icon {
          font-size: 3rem;
          color: #28a745; 
          margin-bottom: 1rem;
        }
        .error-message {
          background-color: #2d1b1b; 
        }
        .error-icon {
          font-size: 3rem;
          color: #dc3545; 
          margin-bottom: 1rem;
        }
        .hidden {
          display: none !important; 
        }   



        .modal-header.bg-success {
            background-color: #28a745 !important;
        }

        .modal-header.bg-danger {
            background-color: #dc3545 !important;
        }

        .custom-modal {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.5);
          display: flex;
          align-items: center;
          justify-content: center;
          opacity: 0;
          visibility: hidden;
          transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .custom-modal.active {
          opacity: 1;
          visibility: visible;
        }

        /* Keep Bootstrap modals unaffected */
        .modal.fade {
          display: none;
          opacity: 0;
          transition: opacity 0.15s linear;
        }

        .modal.show {
          display: block;
          opacity: 1;
        }
  