/* ==========================================================================
    Button
   ========================================================================== */
   .e2n-share-link-wrapper > .buttons > a.nectar-button {
        margin-bottom: 0;
   }

/* ==========================================================================
   Popup
   ========================================================================== */
.e2n-share-modal-wrapper {
    display: none;
}

#e2nShareModal{
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
}


.e2n-share-modal-content {
    text-align: center;
}

.e2n-share-qr-code img {
    max-width: 200px;
    height: auto;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 10px;
}

.e2n-share-link-display {
    margin: 20px 0 0 0;
}

.e2n-share-email-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.2s ease;
}

.e2n-share-email-input:focus {
    outline: none;
    border-color: #4a90e2;
}

.e2n-share-email-input::placeholder {
    color: #999;
}

.e2n-share-send-btn-wrapper a.nectar-button {
    text-align: center;
    margin-bottom: -10px;
}

.e2n-share-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   Success/Error Messages
   ========================================================================== */

.e2n-share-message {
    margin-top: 15px;
    padding: 10px 0 0 40px;
    border: 0;
    color: #000E46;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.e2n-share-message:not(:empty) {
    opacity: 1;
    max-height: 100px;
    margin-top: 15px;
}

.e2n-share-message.error {
    color: #FE4D4C;
}

.e2n-share-message.success {
    color: #79D35F;
}

.e2n-share-message.error::before{
  content: "\f06a";
  color: #FE4D4C;
}
.e2n-share-message::before {
  content: "\f058";
  font-family: 'Font Awesome 7 Pro';
  position: absolute;
  height: 16px;
  width: 16px;
  color: #79D35F;
  margin-left: -25px;
  margin-top: 1px;
}

/* ==========================================================================
   Mail usage info
   ========================================================================== */

.hint{
    font-size: 12px;
    line-height: 12px;
    color: #666;
    margin-top: -10px;
    margin-bottom: 10px;
    text-align: left;
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 600px) {
    .e2n-share-qr-code img {
        max-width: 150px;
    }
}

/* ==========================================================================
   Close Button
   ========================================================================== */

.e2n-share-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10001;
    cursor: pointer;
    width: 32px;
    height: 32px;
    transition: opacity 0.3s ease;
}

.e2n-share-modal-close svg {
    width: 100%;
    height: 100%;
    fill: #999;
    transition: fill 0.3s ease;
}

.e2n-share-modal-close:hover svg {
    fill: #333;
}