
/* === Gift Search === */
#mycred-gift-search-wrap {
    margin: 20px 0;
}
#mycred-gift-search {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
}

/* === Search Results as Cards === */
#mycred-gift-results {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}
.gift-user-card {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 12px;
    border-radius: 10px;
    width: calc(50% - 15px);
    display: flex;
    align-items: center;
    gap: 15px;
}
.gift-user-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.gift-user-card button {
    background: #0170b9;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    margin-top: 6px;
    cursor: pointer;
    font-size: 14px;
}

/* === Popup Styling === */
#mycred-gift-popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.gift-popup-inner {
    background: #fff;
    padding: 25px;
    width: 100%;
    max-width: 500px;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* === Close Button === */
#gift-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* === Transfer Form === */
#mycred-transfer-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#mycred-transfer-form label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
#mycred-transfer-form input,
#mycred-transfer-form select,
#mycred-transfer-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #ddd;
    font-size: 15px;
    transition: 0.3s ease-in-out;
}
#mycred-transfer-form input:focus,
#mycred-transfer-form select:focus,
#mycred-transfer-form textarea:focus {
    border-color: #b608c9;
    box-shadow: 0 0 6px rgba(182,8,201,0.2);
    outline: none;
}
#mycred-transfer-form button {
    background: #b608c9;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
#mycred-transfer-form button:hover {
    background: #9a06aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(182,8,201,0.2);
}

/* === Toast Notifications === */
.mycred-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.mycred-toast.success {
    background: #2ecc71;
}
.mycred-toast.error {
    background: #e74c3c;
}
.mycred-toast.info {
    background: #3498db;
}
