/* =====================================================
   Name Email Form Plugin Styles
===================================================== */

/* =====================================================
   PUBLIC FORM STYLES
===================================================== */

.ne-form-wrapper {
    /* background-color: #f5f5f5; */
    max-width: 500px;
    /* margin: 10px 0; */
}

.ne-form-wrapper form {
    /* background: #f9f9f9; */
    /* padding: 30px; */
    border-radius: 8px;
}

.ne-form-wrapper p {
    margin-bottom: 20px;
}

.ne-form-wrapper label {
    display: block;
    color: #333;
    font-size: 24px;
}

.ne-form-wrapper input[type="text"],
.ne-form-wrapper input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.1s ease;
    box-sizing: border-box;
    background-color: #f5f6fa;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}
.ne-form-wrapper input[type="text"]:hover,
.ne-form-wrapper input[type="email"]:hover {
    border-color: #e7efff;
    background-color: #fff;
    transition: background-color 0.2s, border-color 0.2s;
}

.ne-form-wrapper input[type="text"]:focus,
.ne-form-wrapper input[type="email"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.ne-form-wrapper button[type="submit"] {
    background: #0073aa;
    color: #fff;
    padding: 12px 30px;
    margin-top:22px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.ne-form-wrapper button[type="submit"]:hover {
    background: #003955;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    /* translate: 0 2px; */
    /* transition: background 0.2s, box-shadow 0.2s; */
}

.ne-form-wrapper button[type="submit"]:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    outline: none;
}

/* Success message */
.ne-form-wrapper .ne-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #28a745;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Error message */
.ne-form-wrapper .ne-error {
    /* background: #f8d7da; */
    /* color: #721c24; */
    /* padding: 15px; */
    /* border-radius: 4px; */
    /* border-left: 4px solid #dc3545; */
    /* margin-bottom: 20px; */
}


/* =====================================================
   ADMIN TABLE ENHANCEMENTS
===================================================== */

.ne-admin-page .widefat {
    margin-top: 20px;
}

.ne-admin-page .widefat th {
    font-weight: 600;
    background: #f0f0f1;
}

.ne-admin-page .widefat td {
    vertical-align: middle;
}

/* Edit mode inputs */
.ne-admin-page input[type="text"],
.ne-admin-page input[type="email"] {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.ne-admin-page input[type="text"]:focus,
.ne-admin-page input[type="email"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

/* Action buttons */
.ne-admin-page .button {
    /* margin: 25px; */
}

.ne-admin-page .button-primary {
    background: #0073aa;
    border-color: #0073aa;
}

.ne-admin-page .button-primary:hover {
    background: #005a87;
    border-color: #005a87;
}

.ne-admin-page .button-link-delete {
    color: #b32d2e;
    padding: 4px 8px;
}

.ne-admin-page .button-link-delete:hover {
    color: #dc3232;
}

/* Empty state */
.ne-admin-page .no-items {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}


/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

@media screen and (max-width: 782px) {
    .ne-form-wrapper form {
        /* padding: 20px; */
    }
    
    .ne-form-wrapper button[type="submit"] {
        width: 100%;
    }
    
    .ne-admin-page .button {
        /* margin-bottom: 5px; */
    }
}

@media screen and (max-width: 600px) {
    .ne-form-wrapper {
        /* max-width: 100%; */
    }
}

/* =====================================================
   MY DESIGN
===================================================== */

.logo {
  width: 120px;
  animation: pulse 3.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(0px);
    /* transform: scale(1.2); */
  }
  50% {
    transform: translate(0px,8px);
    /* transform: scale(1.05); */
  }
}